mpstat(1M) mpstat(1M)
NAME
mpstat - report multi-processor statistics
SYNOPSIS
/usr/ucb/mpstat [interval] [count]
DESCRIPTION
mpstat reports certain statistics kept about process, virtual memory,
exception, and CPU activity. It provides a subset of the virtual
memory information provided by vmstat, but expands the CPU utilization
information to show the activity on each of the processors on the sys-
tem. vmstat gives the composite CPU statistics for all processors on
the system. mpstat reports in the first line a summary of the system
activity since the system has been booted.
If interval is specified, then successive lines are reported over the
last interval seconds. For example, mpstat 5 will print what the sys-
tem is doing every five seconds. This is a good choice for printing
interval because some statistics are sampled every five seconds in the
system. Watch the output for a while will to identify what statistics
are sampled in what interval.
If a count is given, the statistics are repeated count times.
These format fields are available:
procs Information about numbers of processes in various states.
r In run queue.
b Blocked for resources (I/O or paging).
w Operable process or short sleeper (< 20 secs) but
swapped.
memory Information about the usage of virtual and real memory. Vir-
tual pages are considered active if they belong to processes
which are running or have run in the last 20 seconds. A page
here is 1024 bytes.
avm Active virtual pages.
fre Size of the free list.
Page 1 Reliant UNIX 5.44 Printed 11/98
mpstat(1M) mpstat(1M)
page Information about page faults and paging activity. These are
averaged each five seconds, and given in units per second.
pi Pages paged in.
po Pages paged out.
si Pages swapped in.
so Pages swapped out.
Cpu Information about exceptions and interrupts. These are given
in units per second. Breakdown of CPU activity (one set per
CPU).
int Device interrupts fielded by this CPU.
cint Inter-CPU interrupts fielded by this CPU.
fint Floating point exceptions fielded by this CPU.
syc System calls per second.
cs Cpu context switch rate (switches/sec).
id Percentage of CPU time spent in idle or I/O wait mode.
us Percentage of CPU time spent in user mode.
sy Percentage of CPU time spent in system mode (other
than idle).
io Percentage of CPU time spent in I/O wait mode.
SEE ALSO
vmstat(1M).
Page 2 Reliant UNIX 5.44 Printed 11/98