Problem
How can I easily analyze my Sar data to help me with Performance Tuning?
Solution
SarCheck is a product available from Aptitune Software, and can be downloaded from:
ftp://ftp2.sco.com/pub/skunkware/osr5/sysadmin/SarCheck/This product will only work for OpenServer5 and will not understand the UW7 or OSR6 sar files values.
The product is installed in /usr/local/bin.It is recommended to set your PATH variable to include this directory.
To gather information about your server, you must first ensure that "sar" is running.
For OpenServer systems run:/usr/lib/sa/sar_enable -yFor UnixWare systems run:Ensure that the follow lines are un-remarked for the "sys" user's cron file in /usr/spool/cron/crontabs/sys:
0 * * * 0-6 $TFADMIN /usr/lib/sa/sa1 20,40 8-17 * * 1-5 $TFADMIN /usr/lib/sa/sa1 5 18 * * 1-5 $TFADMIN /usr/lib/sa/sa2 -s 8:00 -e 18:01 -i 1200 -A
To analyze your sar data run the following:
/usr/local/bin/uliteand specify "d" for sar data files and enter the appropriate file from:
/usr/adm/saor:If you have a "sar -A" output, you can specify "r" for a sar report file and then enter the filename containing the "sar -A" data.
NOTE: SarCheck will not function with sar data from OpenServer6 or from
UnixWare7. You will get the following message:Sorry, SarCheck UltraLite only works with SCO OpenServer Release 5 sar
reports. The report specified does not conform to the SCO OpenServer
Release 5 sar format. See also
ta103492, "Tuning large systems for performance."ta107228, "Large document for tuning SCO UNIX System and SCO Open Desktop kernels."
ta110628, "Large document for tuning SCO UNIX System and SCO Open Desktop kernels - cont'd."
sar(ADM)http://www.sarcheck.comThere is also Olympus Tuneup available from:
http://codework5.pacificcodeworks.com/tuneup.shtmlTo look at current parameters, and also monitor system performance there is also with a free utility called u386mon. This is available as a TLS from:
ftp://stage.sco.com/TLS/tls012b.cpio.Z
ftp://stage.sco.com/TLS/tls012.ltrWith disk bottlenecks your most useful commands is also 'sar'.
If you look at the output of 'sar -u 1 10' you will see ten one
second snapshots of your I/O subsystem. If you have a high (say
greater than 10%) under the %wio column, then that means that the
processor is spending 10% of its time waiting for I/O tasks to
complete. Usually increasing NBUF and NHBUF fixes this.See also: http://www.bb4.com for tools for monitoring your server.
ta112723, "How do I set my disk buffering for SCO OpenServer 5 to the optimum values?"