loadst(1) — Silicon Graphics
NAME
loadst − print current time and load statistics.
SYNOPSIS
loadst [−n] [−a] [−x] [−t] [−u] [interval]
DESCRIPTION
loadst is an Emacs helper utility used to drive a mode-line clock for Emacs. It indicates whether you have new mail, prints the current time, and can display load average, disk-usage and cumulative cpu-time statistics.
OPTIONS
With no arguments, loadst prints the word "Mail" if you have new mail, or nothing if you do not. Specifying flags adds other information to the display as follows:
-adisplay system load average
-xdisplay disk transfer statistics
-tprint the current time
If you specify a decimal interval argument, loadst will go to sleep and produce its output every interval seconds. If no interval is specified, loadst prints once and exits.
-nprevents a newline from being added to the end of the status line. Otherwise, a newline is appended.
-ucauses it to use your real uid rather than the value of the USER shell variable (which may not be defined on non-BSD systems) to figure out the name of your mail file.
NOTE
In order to produce the load, disk, and cpu-usage statistics, loadst must be able to read /dev/kmem. If /dev/kmem is protected against unprivileged users, you must run loadst setuid or setgid so it can read /dev/kmem.
FILES
/dev/kmemfor load, cpu-usage, disk-usage statistics
time.mlEmacs MLisp library that uses loadst to drive a mode-line clock
SEE ALSO
emacs(1)the Emacs editor
BUGS
The options must be given one per word, as in "-a -t" rather than "-at". This is not considered to be a problem, since loadst is intended to be invoked by time.ml, and not interactively.
Version 2.5r1 — December 06, 1986