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
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%).
Each CPU is in one of three states:
ACTIVE -- The CPU is available to run any process.
STATIC -- The CPU can only run processes specifically
designated to run on that CPU.
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:
scrolls forward one screen
scrolls forward one half screen
scrolls backward one screen
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
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
display the Options window
The mpstat utility allows you to lock this utility
onto any one CPU (with the exception of the base CPU --
If you lock mpstat onto a CPU, that CPU will
only execute mpstat and processes currently designated to run on that
CPU. The CPU displays on the status
information screen as being in a STATIC state.
Invoke mpstat with the -cCPU option or select the
lock option from the Options menu to lock mpstat
to run on a specified CPU.
Invoke mpstat with the -x (default) option to allow
mpstat to free run on any CPU.
Invoke mpstat with the -h option or select the
hide option from the Options menu to hide the
statistics of the locked CPU.
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
lock mpstat utility on processor number CPU.
Cannot be used with option -x.
use black and white for screen colors.
This is useful for running mpstat in, for example, a scoterm window.
hide statistics of locked CPU
run Options window
allow mpstat to free run on any CPU.
Default option. Cannot be used with option -c.