|Include all usage statistics (same as -instu). This is the default if no specific statistics are selected.|
|-c, -count count|
|Sample statistics the specified number of times. If not specified, it defaults to 1 if -w is not specified, otherwise forever.|
|-d, -delim delimiter|
|Delimit columns with delimiter instead of justifying them with spaces.|
|Print the list of options and exit.|
|Include idle time in the statistics.|
|Include nice time in the statistics.|
|-p, -cpu cpu|
|Select processor cpu [0-n]. You may repeat the switch to select more than one CPU. The default is to include all CPUs.|
|Print no header, only the data.|
|Include system time in the statistics.|
|Include interrupt time in the statistics.|
|Include user time in the statistics.|
|-w, -wait wait|
|Pause the specified number of seconds between updates. The default is 1.|
|Report the percentage of time not in each state. If specified, each percentage is subtracted from 100. The header (unless the -q option is selected) displays a "!" before each heading.|
If the [-q] option is not specified, the first two lines of output will contain a header.
The first line lists the CPUs, by number. If the options specify only one column of information per CPU, then this line will only contain the CPU numbers (starting with 0), otherwise it will contain the string "cpu " followed by the number. This heading will be right-justified over the columns that apply to that CPU, unless the [-d] option is specified (in which case the headers are also delimited).
The second header line labels the columns within the output for each CPU. These labels can be any of the following:
us % of cpu time in user mode ni % of cpu time in user mode running niced processes sy % of cpu time in system mode in % of cpu time in interrupt mode id % of cpu time in idle mode
If the [-x] option was specified, then each of the above is prefixed by !.
The remaining lines of output will be the percentage of time each CPU spent in each of the designated states since the previous line (or since pcpustat started, in the case of the first line).
If the [-d] option is specified, then the string specified as its argument will occur between each column. Otherwise, enough spaces will be used to right-align each column under its heading.
Sterling (Chip) Camden <firstname.lastname@example.org>
The pcpustat utility can only report on CPUs 0-n, where n is one less than the number of bits in a long.