ruptime(1) CLIX ruptime(1)
NAME
ruptime - Shows host status for each machine on the local network
SYNOPSIS
ruptime [-a] [-l|-t|-u] [-r]
FLAGS
-a Includes in the listing users idle an hour or more.
-l Sorts the listing by load average.
-t Sorts the listing by uptime.
-u Sorts the listing by number of users.
-r Sorts the listing in reverse order.
DESCRIPTION
The ruptime command displays a status line for each machine on the local
network running rwhod. The status line provided by ruptime is a summary
of the current activity on each system. This data is provided by packets
broadcast by each host once every three minutes.
Machines for which a status report has not been received in the last five
minutes are shown as being down.
Users idle an hour or more are omitted from the listing unless the -a flag
is specified. By default, the listing is sorted by hostname.
EXAMPLES
1. To show host status for each machine on the LAN, enter:
ruptime
2. To show host status sorted by load average including users idle an
hour or more, enter:
ruptime -al
3. To show host status for each machine on the LAN sorted by uptime in
reverse order, enter:
ruptime -tr
2/94 - Intergraph Corporation 1
ruptime(1) CLIX ruptime(1)
4. To show host status for each machine on the LAN sorted by users,
enter:
ruptime -u
FILES
/usr/spool/rwho/whod.* data files containing information about each
machine
DIAGNOSTICS
A usage message is displayed if an undefined flag is specified on the
command line.
Error messages are displayed with the perror() function if errors occur
while opening or reading the /usr/spool/rwho directory.
EXIT VALUES
An exit value of 0 is returned on successful completion. If an error
occurs, a nonzero value is returned.
RELATED INFORMATION
Commands: rwho(1), rwhod(8)
Functions: perror(3)
2 Intergraph Corporation - 2/94