-.TH MPSTAT 1 "SEPTEMBER 2016" Linux "Linux User's Manual" -*- nroff -*-
+.TH MPSTAT 1 "NOVEMBER 2016" Linux "Linux User's Manual" -*- nroff -*-
.SH NAME
mpstat \- Report processors related statistics.
.SH SYNOPSIS
.B mpstat [ -A ] [ -u ] [ -V ] [ -I {
.I keyword
.B [,...] | ALL } ] [ -o JSON ] [ -P {
-.I cpu
-.B [,...] | ON | ALL } ] [
+.I cpu_list
+.B | ON | ALL } ] [
.I interval
.B [
.I count
Display the statistics in JSON (Javascript Object Notation) format.
JSON output field order is undefined, and new fields may be added
in the future.
-.IP "-P { cpu [,...] | ON | ALL }"
-Indicate the processor number for which statistics are to be reported.
-.I cpu
-is the processor number. Note that processor 0 is the first processor.
+.IP "-P { cpu_list | ON | ALL }"
+Indicate the processors for which statistics are to be reported.
+.I cpu_list
+is a list of comma-separated values or range of values (e.g.,
+.BR 0,2,4-7,12- ).
+Note that processor 0 is the first processor, and processor
+.B all
+is the global average among all processors.
The
.B ON
keyword indicates that statistics are to be reported for every
.B sar [ -A ] [ -B ] [ -b ] [ -C ] [ -D ] [ -d ] [ -F [ MOUNT ] ] [ -H ] [ -h ] [ -p ] [ -q ] [ -R ]
.B [ -r [ ALL ] ] [ -S ] [ -t ] [ -u [ ALL ] ] [ -V ] [ -v ] [ -W ] [ -w ] [ -y ] [ --human ] [ --sadc ]
.B [ -I {
-.I int
-.B [,...] | SUM | ALL | XALL } ] [ -P {
-.I cpu
-.B [,...] | ALL } ]
+.I int_list
+.B | SUM | ALL } ] [ -P {
+.I cpu_list
+.B | ALL } ]
.B [ -m {
.I keyword
.B [,...] | ALL } ]
.SH OPTIONS
.IP -A
This is equivalent to specifying
-.BR "-bBdFHqRSuvwWy -I SUM -I XALL -m ALL -n ALL -r ALL -u ALL -P ALL".
+.BR "-bBdFHqRSuvwWy -I SUM -I ALL -m ALL -n ALL -r ALL -u ALL -P ALL".
.IP -B
Report paging statistics.
The following values are displayed:
Print sizes in human readable format (e.g. 1k, 1.23M, etc.)
The units displayed with this option supersede any other default units (e.g.
kilobytes, sectors...) associated with the metrics.
-.IP "-I { int [,...] | SUM | ALL | XALL }"
-Report statistics for a given interrupt.
-.I int
-is the interrupt number. Specifying multiple -I
-.I int
-parameters on the command line will look at multiple independent interrupts.
+.IP "-I { int_list | SUM | ALL }"
+Report statistics for interrupts.
+.I int_list
+is a list of comma-separated values or range of values (e.g.,
+.BR 0-16,35,400- ).
The
.B SUM
keyword indicates that the total number of interrupts received per second
is to be displayed. The
.B ALL
-keyword indicates that statistics from
-the first 16 interrupts are to be reported, whereas the
-.B XALL
keyword indicates that statistics from all interrupts, including potential
APIC interrupt sources, are to be reported.
Note that interrupt statistics depend on
See
.BR sadc (8)
manual page).
-.IP "-P { cpu [,...] | ALL }"
+.IP "-P { cpu_list | ALL }"
Report per-processor statistics for the specified processor or processors.
+.I cpu_list
+is a list of comma-separated values or range of values (e.g.,
+.BR 0,2,4-7,12- ).
+Note that processor 0 is the first processor, and processor
+.B all
+is the global average among all processors.
Specifying the
.B ALL
keyword reports statistics for each individual processor, and globally for
all processors.
-Note that processor 0 is the first processor.
.IP -p
Pretty-print device names. Use this option in conjunction with option -d.
By default names are printed as