NAME [Toc] [Back]
ruptime - show status of local machines
SYNOPSIS [Toc] [Back]
ruptime [-a] [-r] [-l] [-t] [-u]
DESCRIPTION [Toc] [Back]
ruptime outputs a status line for each machine on the local network
that is running the rwho daemon. ruptime's status lines are formed
from packets broadcast once every 3 minutes between rwho daemons (see
rwhod(1M)) on each host on the network. Each status line has a field
for the name of the machine, the status of the machine (up or down),
how long the machine has been up or down, the number of users logged
into the machine, and the 1-, 5- and 15-minute load averages for the
machine when the packet was sent.
The status of the machine is reported as ``up'' unless no report has
been received from the machine for 11 minutes or more.
The length of time that the machine has been up is shown as:
Load averages are the average number of jobs in the run queue over the
last 1-, 5- and 15-minute intervals when the packet was sent.
An example status line output by ruptime might be:
machine1 up 1+5:15, 7 users, load 1.47, 1.16, 0.80
The above status line would be interpreted as follows:
machine1 is presently ``up'' and has been up for 1 day, 5 hours and 15
minutes. It currently has 7 users logged in. Over the last 1-minute
interval, an average of 1.47 jobs were in the run queue. Over the
last 5-minute interval, an average of 1.16 jobs were in the run queue.
Over the last 15-minute interval, an average of 0.80 jobs were in the
If a user has not used the system for an hour or more, the user is
considered idle. Idle users are not shown unless the -a option is
Options [Toc] [Back]
If no options are specified, the listing is sorted by host name.
Options change sorting order as follows:
-l Sort by load average.
-t Sort by up time.
Hewlett-Packard Company - 1 - HP-UX 11i Version 2: August 2003
-u Sort by the number of users.
-r Reverse the sort order.
DIAGNOSTICS [Toc] [Back]
No status report files in /var/spool/rwho. Next Step: Ask the
system administrator to check whether the rwho daemon is running.
AUTHOR [Toc] [Back]
ruptime was developed by the University of California, Berkeley.
FILES [Toc] [Back]
/var/spool/rwho/whod.* Data files
SEE ALSO [Toc] [Back]
Hewlett-Packard Company - 2 - HP-UX 11i Version 2: August 2003 [ Back ]