MAN page from RedHat Other procps-X11-1.01-11.i386.rpm
XCPUSTATE
Section: User Commands (1)
Updated: 13 July 1988
Index NAME
xcpustate - display CPU states (idle, nice, system, kernel) statistics
SYNTAX
xcpustate [
-toolkitoption ...] [
-count iterations] [
-interval seconds]
DESCRIPTION
Xcpustatedisplays bars showing the percentage of time the CPU spends indifferent states.
On a machine running Berkeley Unix, or a derivative (Suns with SunOS,microVaxen with Ultrix), the bar indicates the proportions of idle,user, nice, and system time with increasing levels of gray scale (fromleft to right)
On an Iris4D, there may be more than one bar, one for each CPU, andeach bar indicates the proportions of idle + wait, user, kernel, sxbrkand interrupt time for each cpu.
On a Cray X/MP or Y/MP, under Unicos 5.1 or greater, it will displaybars for as many cpus as are configured. The proportions ofidle, user and system time are shown for each cpu.
OPTIONS
Xcpustateaccepts all of the standard X Toolkit command line options, plus:
- -count iterations
- The number of times it should update the display. Default is forever.
- -interval seconds
- the interval in between updates. Default is 1 second.
X DEFAULTS
For
xcpustatethe available class identifiers are:
CPUStateMonitor - the applicationForm - enclosing the entire application, and sub-Forms enclosing Label/Bar pairs.
Forxcpustate,the available name identifiers are:
xcpustate - application nameThe outer Form is "form".The Forms enclosing the Label/Bar pairs are "formN", where N is theindex number, starting with the top pair as zero.Each Label name is the same as the label string.Each Bar name is "barN".
Forxcpustate,the available resources are:
- name interval, class Interval
- corresponds to the -interval option. Takes an integer value.
- name count, class Count
- corresponds to the -count argument, also takes and integer value.
NOTES
Xcpustate was designed for a multiprocessor (a Silicon Graphics Iris4D/240) - ithappens to work for conventional BSD uniprocessors. It is meant to beeasy to port, and extend to monitor a wide variety of statistics.
SEE ALSO
xperfmon, xload
AUTHOR
Mark Moraes, University of TorontoThanks to Chris Siebenmann for the code for BSD systems.Thanks to Walter D. Poxon from Cray Research for the code for Cray X/MP andY/MPs.
Index
- NAME
- SYNTAX
- DESCRIPTION
- OPTIONS
- X DEFAULTS
- NOTES
- SEE ALSO
- AUTHOR
This document was created byman2html,using the manual pages.