mpstat reports processor statistics in tabular form. Each row of the table represents
the activity of one processor. The first table summarizes all activity since boot; each subsequent table summarizes activity for the preceding interval. All values are rates (events per second) unless otherwise noted.
During execution of this kernel status command, the "state" of the kernel can change. An example would be CPUs going online or offline. mpstat reports this as State change.
mpstat reports the following information:
CPU or SET
- Without the -a option, mpstat reports CPU, the processor ID. With the -a option, mpstat reports SET, the processor set ID.
- minor faults
- major faults
- inter-processor cross-calls
- interrupts as threads (not counting clock interrupt)
- context switches
- involuntary context switches
- thread migrations (to another processor)
- spins on mutexes (lock not acquired on first try)
- spins on readers/writer locks (lock not acquired on first try)
- system calls
- percent user time
- percent system time
- percent wait time
- percent idle time
With the -a option, mpstat also reports:
- number of processors in the set
With the -p option, mpstat also reports:
- processor set membership of the CPU