Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sar question

Status
Not open for further replies.

danhodges99

IS-IT--Management
Feb 6, 2003
21
GB
Hi all,

With Sar, it gives you the CPU usage for the last x minutes etc, does anyone know if this is an average value when the machine in question has multiple CPU's, or simply just a reading of CPU #1?

Ta.
 
It is an average of all CPUs - e.g. a looping process on one CPU of a 2 CPU machine will result in a sar %cpu of 50%. mpstat will give you a more detailed per CPU output
 
sar -q is useful to determine if your load frequently exceeds the number of CPUs available to service the load.

the second column indicates the % of time at least one job was waiting for a CPU, the first column indicates the average number of jobs waiting when at least one job was waiting

The other columns (which Sun claims will be empty) actually show the number of jobs swapped entirely out of memory and % of time that happens I tried to remain child-like, all I acheived was childish.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top