mpstat
The mpstat command writes to standard output activities for each available processor, processor 0 being the first one. Global average activities among all processors are also reported. The mpstat command can be used both on SMP and 'UP' machines, but in the latter, only global average activities will be printed.[1]
Documentation
- man 1 'mpstat' [EN]
Syntax
mpstat [PARAMETER ...] [INTERVAL [COUNT]]
Parameters
- -P [CPU|ALL]
- Indicate the processor number for which statistics are to be reported. CPU is the processor number.
- NOTE:The processor 0 is the first processor. The ALL keyword indicates that statistics are to be reported for all processors.
Examples
- Display five reports of global statistics among all processors at two second intervals.
mpstat 2 5
References
- ↑ man 1 'mpstat'