Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

X(1X)

dxwm(1X)

xrdb(1X)

mem(4)

xload(1X)  —  Unsupported

Name

xload - X Window System load average display

Syntax

xload [ options ]

Description

The xload command continuously displays the system load average.  The xload command creates a window in which the name of the host is displayed in the upper left corner and the load average is represented as a bar graph with n divisions.  Each division represents one unit of load average. 

Options

The xload command has the following options:

−bd colorSpecifies the border color of the window (color displays only).  The default is black. 

−bg colorSpecifies the background color of the window (color displays only).  The default is white. 

−bw pixelsSpecifies the width of the border around the xload window. The default value is 2 pixels. 

−d dispnameSpecifies the display screen on which xload displays its window.  If the display option is not specified, xload uses the display screen specified by your DISPLAY environment variable.  The display option has the format hostname:number.  Using two colons (::) instead of one (:) indicates that DECnet is to be used for transport.  The default is :0.  For more information, see X(.).

−display dispnameThis option is the same as the −d option. 

−fg colorSpecifies the graph color (color displays only).  The default is black. 

−fn fontSpecifies that the hostname is displayed in the specified font.  The default is 6x10. 

−g geometrySpecifies the width, length, and location of the xload window.  If the geometry option is not specified, xload uses default values.  The geometry option has the format =[width][xlength][x][y].  For more information about the screen coordinate system, see X(.).

−hl colorSpecifies the color of the hostname and scale line (color displays only).  The default is the color of the graph. 

−rvSpecifies that the default color values be reversed (for example, black becomes white and white becomes black). 

−scale integerSpecifies the minimum number of divisions on the graph.  The default number of divisions is 1. 

−update secondsSpecifies the period (in seconds) in which xload updates its display.  When the xload window is obscured and then exposed, however, immediate update occurs.  The default update period is five seconds. 

−xrm stringSpecifies a resource string to be used.  This is especially useful for setting resources that do not have separate command line options. 

Restrictions

The xload command requires the ability to open and read /dev/kmem.  On most systems, this requires the suid bit set with root ownership or the sgid bit set and membership in the same group as /dev/kmem. 

X Defaults

The xload application reads the .Xdefaults file during startup and uses the appropriate resource specification to customize the appearance or characteristics of its displayed xload window.  The format for a resource specification in the .Xdefaults file is: [name.]resource: value

nameSpecifies the application name or the name string that restricts the resource assignment to that application or to a component of an application.  If this argument is not specified, the resource assignment is globally available to all X applications. 

resourceSpecifies the X resource. 

valueSpecifies the value that is to be assigned to the resource. 

In most cases, the period (.) delimiter should be replaced by an asterisk (*).  For more information, see X(.).

For xload, the available name is xload. 

In addition to the general resources listed in X(,), the resources available for xload are:

MinScale Specifies the minimum number of divisions displayed.  The default is 1. 

Scale Specifies the minimum scale. 

Update Specifies the update period. 

See Also

X(1X), dxwm(1X), xrdb(1X), mem(4)

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026