Using HP-UX Internet Services (February 2007)

7 Listing Hosts with ruptime
ruptime lists status information about HP-UX or UNIX hosts on the local area network.
This information is useful in identifying the network hosts that you can use, and how
responsive each host is likely to be over the network.
Using ruptime
For each network host, ruptime displays a status line in the following format:
hostname up|down days+hours:minutes n users load n.nn, n.nn, n.nn
hostname
Specifies the name of a host on the network. One line is
displayed for each host on the local network running the
rwhod daemon.
up | down
Specifies the status of the host. If the local host stops
hearing from a remote host’s rwhod daemon, that host is
considered as down.
days+hours:minutes
Specifies the period of time the host has been up or down.
n users
Specifies the number of users logged into the host.
load
Specifies the average number of jobs in the run queue over
the last 5, 10, and 15 minutes.
By default, ruptime displays status lines sorted in alphabetical order by host name.
You can use different command-line options to sort the status lines by different fields,
in increasing or in decreasing order.
By default, ruptime lists the number of active users logged into the local area network.
ruptime does not count users who have not used the system for an hour or more. To
include idle users in the status line, use the -a option specified as follows:
ruptime -a
NOTE: ruptime is not supported across X.25 links or networks using the PPL (SLIP)
product.
For more information, type man 1 ruptime at the HP-UX prompt.
ruptime Examples
The following example lists hosts in alphabetical order and includes idle users in the
output:
ruptime -a
hpabca down 14+08:34
Using ruptime 37