xload [-toolkitoption ...] [-scale integer] [-update seconds] [-hl color] [-highlight color] [-remote host] [-jumpscroll pixels] [-label string] [-nolabel] [-lights] [-help|-version]
Xload accepts all of the standard X Toolkit command line options (see X (__miscmansuffix__)). The order of the options is unimportant. xload also accepts the following additional options:
8 -hl color or -highlight color This option specifies the color of the scale lines.
8 -jumpscroll 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.
8 -label string The string to put into the label above the load average.
8 -nolabel If this command line option is specified then no label will be displayed above the load graph.
8 -lights When specified, this option causes xload to display the current load average by using the keyboard leds; for a load average of n, xload lights the first n keyboard leds. This option turns off the usual screen display.
8 -scale integer This option specifies the minimum number of tick marks in the histogram, where one division represents one load average point. If the load goes above this number, xload will create more divisions, but it will never use fewer than this number. The default is 1.
8 -update seconds This option specifies the interval in seconds at which xload updates its display. The minimum amount of time allowed between updates is 1 second. The default is 10.
8 -remote host This option tells xload to display the load of host instead of localhost. Xload gets the information from the rwhod database and consequently requires rwhod to be executing both on localhost and host.
8 -help This option specifies that xload should print a usage message and exit.
8 -version This option specifies that xload should print version info and exit.
8 showLabel (class Boolean) If False then no label will be displayed.
XLoad xload Paned paned Label label StripChart load
8 DISPLAY to get the default host and display number.
8 XENVIRONMENT to get the name of a resource file that overrides the global resources stored in the RESOURCE_MANAGER property.
__apploaddir__/XLoad specifies required resources
Reading the load average is inherently non-portable. Therefore, the routine used to read it (get_load.c) must be ported to each new operating system.
with features added by Jim Gettys (MIT-Athena), Bob Scheifler (MIT-LCS), Tony Della Fera (MIT-Athena), and Chris Peterson (MIT-LCS).