пятница, 27 июля 2007 г.

воскресенье, 22 июля 2007 г.

To display system latency

prstat -Lm
Fields USR through LAT sum up to 100%. LAT is percentage of time a thread was waiting for CPU time. This number should be small.

runq-sz from sar is the same as

kthr:r (runnable threads) from vmstat

Enable sar in Solaris 10

svcadm enable sar
Also, su - sys and crontab -e
add interval greater than 5 and count (number of samples) after sa1

Quick CPU load average (2 ways)

uptime or last line of prstat
1,5, and 15 minute averages
given numbers must be lower than cpu count. if they are greater than cpu count, you have cpu saturation.

List processor number and speeds

psrinfo -vp