mpstat

From Wikipedia, the free encyclopedia

mpstat is a computer command-line software used in linux operating system to report (on the screen) processor related statistics. It is used in computer monitoring in order to diagnose problems or for build statistics about a computer CPU usage.

Contents

[edit] Description

The mpstat command writes to standard output activities for each available processor.

The mpstat command can be used both on SMP and UP machines, but in the latter, only global average activities will be printed.

[edit] Examples

Example of output under linux:

$mpstat
Linux 2.4.21-32.ELsmp (linux00)        07/04/07

10:26:54     CPU   %user   %nice %system %iowait    %irq   %soft   %idle    intr/s
10:26:54     all    0.07    0.00    0.16    8.48    0.00    0.09   91.18    165.49

under solaris 8

$mpstat
CPU minf mjf xcal  intr ithr  csw icsw migr smtx  srw syscl  usr sys  wt idl
  0  -43 -29    0 -1313 -1406 -769 -701    0  -20    0  -806  -112 -49 -10 -1889

[edit] References

[edit] External link