rwhod(1M) rwhod(1M)
NAME
rwhod - system status server
SYNOPSIS
DESCRIPTION
is the server that maintains the database used by and (see rwho(1) and ruptime(1)). sends status information to and receives status infor-
mation from other nodes on the local network that are running
is started at system boot time if the RWHOD variable is set to 1 in the file
As an information sender, it periodically queries the state of the system and constructs status messages that are broadcast on a network.
As an information receiver, it listens for other servers' status messages, validates them, then records them in a collection of files
located in the directory.
By default, both sends and receives information. also supports the following options:
Configures server to be an information sender only.
Configures server to be an information receiver only.
Status messages are generated approximately once every three minutes. transmits and receives messages at the port indicated in the service
specification (see services(4)). The messages sent and received, are of the form:
All fields are converted to network byte order before transmission. System load averages are calculated from the number of jobs in the run
queue over the last 1-, 5- and 15-minute intervals. The host name included is the one returned by the system call (see gethostname(2)).
The array at the end of the message contains information about the users logged in on the sending machine. This information includes the
contents of the entry for each non-idle terminal line and a value indicating the time since a character was last received on the terminal
line (see utmp(4)).
discards received messages if they did originate at a server's port, or if the host's name, as specified in the message, contains any
unprintable ASCII characters.
Valid messages received by are placed in files named in the directory. These files contain only the most recent message in the format
described above.
WARNINGS
does not relay status information between networks. Users often incorrectly interpret the server dying as a machine going down.
AUTHOR
was developed by the University of California, Berkeley.
FILES
Information about other machines.
SEE ALSO
rwho(1), ruptime(1), gethostname(2), services(4), utmp(4).
rwhod(1M)