rup Command
Purpose
Shows the status of a remote host on the local network.
Syntax
Description
The rup command displays the status of a remote host by broadcasting on the local network and then displaying the responses it receives. Specify a flag if you want to sort the output. If you do not specify a flag, the rup command displays responses in the order they are received. If you specify multiple hosts on the command line, the rup command ignores any flags and displays output in the order you specified the hosts. You must use the inetd daemon.
Notes:
- Broadcasting does not work through gateways. Therefore, if you do not specify a host, only hosts on your network can respond to the rup command.
- Load-average statistics are not kept by the kernel. The load averages are always reported as 0 (zero) by this command.
Flags
Item | Description |
---|---|
-h | Sorts the display alphabetically by host name. |
-l | Sorts the display by load average. |
-t | Sorts the display by length of runtime on the network. |
Examples
- To find out the status
of all hosts on the network and to sort the list alphabetically by
host name, enter: /usr/bin/rup -h
- To display a list of
all hosts on the network according to each machine's load average,
enter: /usr/bin/rup -l
- To display the status
of a host, enter:
In this example, the rup command displays the status of the host named brutus./usr/bin/rup brutus
- To display the status
of all hosts on the network sorted by each machine's length of runtime,
enter: /usr/bin/rup -t
Files
Item | Description |
---|---|
html |