manpages.info - online man pages   

SunOS man pages : mpstat (1)

Maintenance Commands                                   mpstat(1M)

NAME

mpstat - report per-processor statistics

SYNOPSIS

/usr/bin/mpstat [ -p | -P set ] [ interval [ count ] ]

DESCRIPTION

mpstat reports per-processor statistics in tabular form. Each row of the table represents the activity of one proces- sor. 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 processor ID minf minor faults mjf major faults xcal inter-processor cross-calls intr interrupts ithr interrupts as threads (not counting clock interrupt) csw context switches icsw involuntary context switches migr thread migrations (to another processor) smtx spins on mutexes (lock not acquired on first try) srw spins on readers/writer locks (lock not acquired on first try) syscl system calls usr percent user time sys percent system time wt percent wait time idl percent idle time SunOS 5.8 Last change: 25 Oct 2001 1 Maintenance Commands mpstat(1M) For the -p option, mpstat also reports the following infor- mation: set processor set membership of the CPU

OPTIONS

The following options are supported: -p Report processor set membership of each CPU. Sort the output by set. The default output is sorted by CPU number. -P set Display only those processors in the specified set. interval Report once each interval seconds. count Only print count reports.

ATTRIBUTES

See attributes(5) for descriptions of the following attri- butes: ____________________________________________________________ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | |_____________________________|_____________________________| | Availability | SUNWcsu | |_____________________________|_____________________________|

SEE ALSO

sar(1), iostat(1M), sar(1M), vmstat(1M), attributes(5)

NOTES

The sum of CPU utilization might vary slightly from 100 because of rounding errors in the production of a percentage figure. SunOS 5.8 Last change: 25 Oct 2001 2