7.8. CPU Use and Performance Tools

Many tools provide useful data for dealing with CPU bottlenecks. Table 7-1 provides a summary.

Table 7-1. Tools That Provide Data on CPU Use
 glance/gpmMeasureWaresartopvmstatiostat
userXXXXXX
niceXX X X
nastyX     
real-timeXX    
systemXXXXXX
interruptXX X  
context switchXX SSYS  
vfaultX     
trapX   X 
wait I/O  X   
idle      
run Queue[*][*]XXXX
Load AverageXX X  

[*] Not shown by default; may be accessed through the Adviser.

Not all of these tools always provide accurate values for the various CPU data. In particular, sar, top, vmstat, and iostat don't always accurately account for interrupt time. In fact, they may count interrupt time as user time, idle time, or system time, depending on when the interrupt arrived. ...

Get HP-UX 11i Tuning and Performance now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.