Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ ruptime(1) — Reliant UNIX 5.44c4

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

rwho(1)

rusers(1)

rwhod(1M)

ruptime(1)                                                       ruptime(1)

NAME
     ruptime - display status of hosts in local network

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

DESCRIPTION
     You can use ruptime to obtain information about the status of the
     hosts in the local network. The following information is displayed for
     each host:

     -  the name of the host

     -  the status (up/down)

     -  when the host was switched on/off

     -  the number of users

     -  the load.

     You can use this command, for example, if you are working at an over-
     loaded host and would like to see which host has a lighter load.

     The ruptime command can only display a status line for each host for
     which there is a host status file in the directory /var/spool/rwho.

     Remote hosts can supply a status report only if the in.rwhod daemon is
     active on the remote host. Similarly, the local host can only receive
     status reports if the in.rwhod daemon is also active on it.

OPTIONS
     No option specified
          A status line is displayed for all remote hosts in the local net-
          work. The listing is sorted by host name.

     -a   Must be specified if you want users who are logged in but who
          have been idle for an hour or more to be included in the load
          statistics.

     -l   Must be specified if you want the listing sorted in order of load
          average.

     -r   Reverses the sorting order, thus affecting the output of options
          -l, -t and -u, if specified, or the sorting by host name.

          -r not specified:

          The listing is sorted in ascending order.

     -t   Must be specified if you want the listing to be sorted by up time
          (how long the host has been switched on).



Page 1                       Reliant UNIX 5.44                Printed 11/98

ruptime(1)                                                       ruptime(1)

     -u   Must be specified if you want the listing to be sorted by number
          of users.

   Functionality

     The status lines are compiled from packets broadcast by each host once
     a minute.

     Hosts from which no status report has been received for five minutes
     are reported as being down.

     Users who have logged in but who have been idle for an hour or more
     are not included in the load statistics unless the -a option is used.

     In large networks, the activities of the in.rwhod daemon could result
     in an excessive load on the system, since a status report is received
     from each host once a minute, and these reports must be saved to disk.
     In such cases, it is advisable to terminate the daemon with the kill
     command and reset the RWHOD variable in the file /etc/inet/rc.inet.
     This is because in.rwhod is only started if RWHOD is set.

EXAMPLES
     You would like to work at a host that has a lighter load than your
     present host.

     $ ruptime
     dayton     down     2:27
     baltimore    up     2:01,   0 users, load  8.00,  8.12,  8.23
     milwaukee    up 18+18:17,   5 users, load  0.06,  0.26,  0.50
     mountainview up     0:39,   1 user,  load  0.00,  0.00,  0.00
     seattle      up  6+21:48,   3 users, load  0.17,  0.16,  0.00
     nantucket    up  1+21:02,   0 users, load  0.07,  0.07,  0.00
     beaverton    up 28+20:29,   2 users, load  0.13,  0.12,  0.00
     detroit    down    13:49
     chicago      up  2+02:46,   1 user,  load  6.96,  6.74,  6.80
     miami        up  1+00:18,   2 users, load 13.43,  9.04,  7.94

     The first field contains the name of the host.

     The entry in the second field indicates whether the host is active
     (up) or not (down).

     The third field shows the time of the last login or logout. It has the
     following format:

     day+hours:minutes

     The fourth field shows the number of users logged in.






Page 2                       Reliant UNIX 5.44                Printed 11/98

ruptime(1)                                                       ruptime(1)

     The fifth field shows the average load of the host. The display is for
     the last 5, 10 and 15 minutes, respectively. The values represent the
     average number of processes that are ready to execute and which are
     competing for process time.

FILES
     /var/spool/rwho/whod.*
          Host status files. These contain the data examined by ruptime.

SEE ALSO
     rwho(1), rusers(1), rwhod(1M).











































Page 3                       Reliant UNIX 5.44                Printed 11/98

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026