1
.TH MPSTAT 1 "FEBRUARY 2004" Linux "Linux User's Manual" -*- nroff -*-
3
mpstat \- Report processors related statistics.
15
command writes to standard output activities for each available processor,
16
processor 0 being the first one.
17
Global average activities among all processors are also reported.
20
command can be used both on SMP and UP machines, but in the latter, only global
21
average activities will be printed.
25
parameter specifies the amount of time in seconds between each report.
26
A value of 0 indicates that processors statistics are to be reported
27
for the time since system startup (boot).
30
parameter can be specified in conjunction with the
32
parameter if this one is not set to zero. The value of
34
determines the number of reports generated at
38
parameter is specified without the
42
command generates reports continuously.
45
The report generated by the
47
command has the following format:
51
Processor number. The keyword
53
indicates that statistics are calculated as averages among all
58
Show the percentage of CPU utilization that occurred while
59
executing at the user level (application).
63
Show the percentage of CPU utilization that occurred while
64
executing at the user level with nice priority.
68
Show the percentage of CPU utilization that occurred while
69
executing at the system level (kernel). Note that this does not
70
include the time spent servicing interrupts or softirqs.
74
Show the percentage of time that the CPU or CPUs were idle during which
75
the system had an outstanding disk I/O request.
79
Show the percentage of time spent by the CPU or CPUs to service interrupts.
83
Show the percentage of time spent by the CPU or CPUs to service softirqs.
84
A softirq (software interrupt) is one of up to 32 enumerated software
85
interrupts which can run on multiple CPUs at once.
89
Show the percentage of time that the CPU or CPUs were idle and the system
90
did not have an outstanding disk I/O request.
94
Show the total number of interrupts received per second by
101
Indicate the processor number for which statistics are to be reported.
103
is the processor number. Note that processor 0 is the first processor.
106
keyword indicates that statistics are to be reported for all processors.
108
Print version number and usage then exit.
113
command takes into account the following environment variable:
116
If this variable exists and its value is
118
then the current locale will be ignored when printing the date in the report header.
121
command will use the ISO 8601 format (YYYY-MM-DD) instead.
126
Display five reports of global statistics among all processors at two second intervals.
131
Display five reports of statistics for all processors at two second intervals.
135
filesystem must be mounted for the
139
Only a few activities are supplied by the Linux kernel for each processor.
143
contains various files with system statistics.
146
Sebastien Godard (sysstat <at> wanadoo.fr)
155
.I http://perso.wanadoo.fr/sebastien.godard/