XLOAD(1) MachTen Programmer’s Manual XLOAD(1)
xload - system load average display for X
xload [-toolkitoption ...] [-scale integer] [-update sec-
onds] [-hl color] [-highlight color]
[-jumpscroll pixels] [-label string] [-nolabel]
The xload program displays a periodically updating his-
togram of the system load average.
Xload accepts all of the standard X Toolkit command line
options (see X(1)). The order of the options in unimpor-
tant. xload also accepts the following additional
-hl color or -highlight color
This option specifies the color of the scale
-jumpscroll number of pixels
The number of pixels to shift the graph to the
left when the graph reaches the right edge of the
window. The default value is 1/2 the width of the
current window. Smooth scrolling can be achieved
by setting it to 1.
The string to put into the label above the load
If this command line option is specified then no
label will be displayed above the load graph.
-lights When specified, this
option causes xload to dis-
play the current load average by using the key-
board leds; for a load average of n, xload lights
the first n keyboard leds. This option turns off
the usual screen display.
This option specifies the minimum number of tick
marks in the histogram, where one division repre-
sents one load average point. If the load goes
above this number, xload will create more divi-
sions, but it will never use fewer than this num-
ber. The default is 1.
This option specifies the interval in seconds at
which xload updates its display. The minimum
amount of time allowed between updates is 1 sec-
ond. The default is 10.
In addition to the resources available to each of the wid-
gets used by xload there is one resource defined by the
showLabel (class Boolean)
If False then no label will be displayed.
In order to specify resources, it is useful to know the
hierarchy of the widgets which compose xload. In the
notation below, indentation indicates hierarchical struc-
ture. The widget class name is given first, followed by
the widget instance name.
DISPLAY to get the default host and display number.
to get the name of a resource file that overrides
the global resources stored in the
<XRoot>/lib/X11/app-defaults/XLoad - specifies required
X(1), xrdb(1), mem(4), Athena StripChart Widget.
This program requires the ability to open and read the
special system file /dev/kmem. Sites that do not allow
general access to this file should make xload belong to
the same group as /dev/kmem and turn on the set group id
Reading /dev/kmem is inherently
the routine used to read it (get_load.c) must be ported to
each new operating system.
Copyright ([, X Consortium
See X(1) for a full statement of rights and permissions.
K. Shane Hartman (MIT-LCS) and Stuart A. Malone (MIT-LCS);
with features added by Jim Gettys (MIT-Athena), Bob Schei-
fler (MIT-LCS), Tony Della Fera (MIT-Athena), and Chris
X Version 11 Release 6 2