The multiprocessor load display utility, mpstat,
displays system processor activity information on your screen for
each of the processors serialized on your system. CPU load
display information updates every second.
When you invoke mpstat, the Multiprocessor Activity window displays
on your screen. For each CPU serialized on your system the following
information displays:
CPU Activity Display windows
The CPU Activity Display window displays CPU activity. The
percentage of kernel code running, the percentage of user code running,
and the percentage of CPU idle time are indicated as follows:
dark shaded block or ``:'' -- specifies one unit (5%) of kernel code
light shaded block or ``#'' -- specifies one unit (5%) of user code
The amount of space within the CPU Activity Display window indicates
the percentage of CPU idle time (one space equals 5%).
Status
Each CPU is in one of three states:
ACTIVE -- The CPU is available to run any process.
DISABLED -- The CPU runs no processes.
INACTIVE -- The CPU runs no processes.
specifies the number of system calls
specifies the number of context switches
specifies the number of interrupts
specifies the number of traps
The CPU load display utility displays status information
for as many CPUs as possible on your screen. If you have a large
number of processors serialized, it may not be possible to display
status information for all processors on one screen. mpstat
allows you to examine status information for all CPUs using the
following key combinations:
<Ctrl>f
scrolls forward one screen
<Ctrl>d
scrolls forward one half screen
<Ctrl>b
scrolls backward one screen
<Ctrl>u
scrolls backward one half screen
<Home> or <Ctrl>h
moves to the first screen
<End> or G
moves to the last screen
<Up Arrow> or j
scrolls forward one CPU
<Down Arrow> or k
scrolls backward one CPU
<Ctrl>r or <Ctrl>l
refreshes the current screen
<Space Bar>
scrolls through options
The Help window displays the list of the key combinations above.
Press ``h'' from the Multiprocessor Activity window to display
the Help window. The Help window also displays Hotkey information.
Hotkeys are used to move between mpstat windows. The Hotkeys
are as follows:
<Esc> or q
exit the current window
o
display the Options window
You can select the required options, on the Options screen, using the
<Up Arrow> and <Down Arrow> keys. Invoke mpstat with
the -o option or type ``o'' at the Multiprocessor Activity window
to display the Options window.
mpstat can be run with none or any of the following command line
parameters:
-b
use black and white for screen colors.
This is useful for running mpstat in, for example, a scoterm window.
-o
run Options window
-x
allow mpstat to free run on any CPU.
Default option.
-V
display Corollary mpstat version number
Warnings
This command numbers processors beginning with 1.
The similar
rtpm(ADM)
command number processors beginning with 0.
The two commands can both be used, but be aware of the numbering
sequence difference.
Currently, the number of interrupts and number of
traps in the display will both always be zero.