MPSTAT(1) — USER COMMANDS
NAME
mpstat − show multi-processor usage or cache statistics
SYNOPSIS
/usr/kvm/mpstat [ -x | -c ] [ interval [ count ] ]
AVAILABILITY
This program is only available on Solbourne multiprocessing machines.
DESCRIPTION
mpstat enters the system and shows average and per-processor percentage usage data during a particular time interval. The first group of data represents the average of all the processors in the system while the second and subsequent data groups represent particular processors, with their particular name designations above each group.
Without an interval or count option, mpstat displays a one-line summary of MP system activity since the system has been booted. If interval is specified, mpstat summarizes activity over the last interval seconds. If a count is given, the statistics are repeated count times.
The particular fields of each data group give a breakdown of percentage usage of CPU time:
us user time for normal processes
ni time for processes with an altered scheduling priority (nice(1))
sy system time
id CPU idle
OPTIONS
−x Displays, per cpu, the amount of time spinning (sp), the amount of time in diskwait (dw), and the amount of time waiting on cross-service calls (sv).
−c Displays, per cpu, the percentage of cache hits (hi) and cache bandwidth used (bw) for the level 2 (L2) and level 3 (L3) caches. It also displays the estimated percentage of the Kbus bandwidth (KB) which is being used (this is computed from the level 3 cache miss rate). This option is only available on Series6 CPUs.
FILES
/dev/kmem
/vmunix
SEE ALSO
mps(1), nice(1), ps(1), vmstat(8)
BUGS
The time spinning displayed by the -x option is only accurate for cpu 0.
Solbourne Computer, Inc. — 11 Jan 1994