Go to main content

man pages section 1: User Commands

Exit Print View

Updated: Wednesday, July 27, 2022
 
 

ruptime(1)

Name

ruptime - show host status of local machines

Synopsis

ruptime [-ar] [-l | -t | -u]

Description

The ruptime utility gives a status line like uptime(1) for each machine on the local network which is actively running the in.rwhod(8) service; these are formed from packets broadcast by such hosts approximately every three minutes.

Machines for which no status report has been received for 11 minutes are shown as being down.

Normally, the listing is sorted by host name, but this order can be changed by specifying one of the options listed below.

Options

The following options are supported:

–a

Counts even those users who have been idle for an hour or more.

–r

Reverses the sorting order.

–l | –t | –u

These options are mutually exclusive. The use of one overrides the previous one(s).

–l

Sorts the display by load average.

–t

Sorts the display by up time.

–u

Sorts the display by number of users.

Files

/var/spool/rwho/whod.*

data files

Attributes

See attributes(7) for descriptions of the following attributes:

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Availability
network/legacy-remote-utilities
Interface Stability
Obsolete

See Also

rup(1), rwho(1), uptime(1), attributes(7), in.rwhod(8)

Notes

This technology may be removed in a future release of Oracle Solaris.

For the ruptime command to be able to display data, the system it is run on must also be running the in.rwhod(8) service to receive the broadcast packets and store the data into the files in /var/spool/rwho/ that the ruptime command reads. This service is not run by default on Oracle Solaris systems, but needs to be manually enabled by an adminstrator.

History

The ruptime command, including support for the options –a, –h, –l, –r, and –t, has been present since the initial release of Solaris.