cpustat Monitor System Behavior by Using CPU Performance Counters


cpustat -c eventspec [-c eventspec]... [-ntD][interval [count]]
cpustat -h


The cpustat command is new in the Solaris 8 release. Use it to monitor the overall behavior of the CPUs in the system by using the CPU performance counters.

If you specify interval, cpustat samples activity every interval seconds, repeating forever. If you specify count, the statistics are repeated count times. If you specify neither operand, an interval of five seconds is used, and there is no limit to the number of samples that are taken.


-c eventspec Specify a set of events ...

Get Solaris™ 8 System Administrator's Reference now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.