Software >> OS >> Unix >> Solaris >> How to obtain real time CPU (processor) usage statistics

mpstat <options> <interval> <count>

use -a to aggreate all processors

use -p to show individual processor usage