Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP-UX Reference > R

ruptime(1)

HP-UX 11i Version 3: February 2007
» 

Technical documentation

» Feedback
Content starts here

 » Table of Contents

 » Index

NAME

ruptime — show status of local machines

SYNOPSIS

ruptime [-a] [-r] [-l] [-t] [-u]

DESCRIPTION

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:

days+hours:minutes

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 run queue.

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 specified.

Options

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.

-u

Sort by the number of users.

-r

Reverse the sort order.

DIAGNOSTICS

no hosts!?!

No status report files in /var/spool/rwho. Next Step: Ask the system administrator to check whether the rwho daemon is running.

AUTHOR

ruptime was developed by the University of California, Berkeley.

FILES

/var/spool/rwho/whod.*

Data files

SEE ALSO

rwho(1), rwhod(1M).

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 1983-2007 Hewlett-Packard Development Company, L.P.