| 1 |
.\"Copyright 1995 Adam Migus ([email protected]) |
| 2 |
.TH RUP 1 "Sept 25, 1995" "Linux 1.2" "Linux Programmer's Manuel" |
| 3 |
.SH NAME |
| 4 |
rup \- remote uptime display |
| 5 |
.SH SYNOPSIS |
| 6 |
\fBrup\fP { -u | -v | \fIhosts\fP ... } |
| 7 |
.SH DESCRIPTION |
| 8 |
\fBrup\fP displays a summary of the current status of a particular |
| 9 |
host or all hosts on the local network. |
| 10 |
.br |
| 11 |
The output shows how long the system has been up, the number of |
| 12 |
users currently on the system (if the system is running the current |
| 13 |
version of \fBrpc.rstatd(8)\fP), and the load averages. |
| 14 |
.br |
| 15 |
The load average numbers give the number of jobs in the run queue |
| 16 |
averaged over 1, 5 and 15 minutes. |
| 17 |
.br |
| 18 |
The \fBrpc.rstatd(8)\fP daemon must be running on the remote host |
| 19 |
for this command to work. |
| 20 |
.br |
| 21 |
\fBrup\fP uses an RPC protocol defined in /usr/include/rpcsvc/rstat.x |
| 22 |
.SH "COMMAND LINE OPTIONS" |
| 23 |
.TP |
| 24 |
\fB-v\fP |
| 25 |
prints the current version of rup and exits |
| 26 |
.TP |
| 27 |
\fB-u\fP |
| 28 |
broadcasts for infornmation from machines capable of returning |
| 29 |
users information implemented in the newest version of rpc.rstatd |
| 30 |
.SH DIAGNOSTICS |
| 31 |
.TP |
| 32 |
rup: RPC: Program not registered |
| 33 |
The \fBrpc.rstatd(8)\fP daemon has not been started on the remote host. |
| 34 |
.TP |
| 35 |
rup: RPC: Timed out |
| 36 |
A communication error occurred. Either the network is excessively |
| 37 |
congested, or the \fBrpc.rstatd(8)\fP daemon has terminated on the |
| 38 |
remote host. |
| 39 |
.TP |
| 40 |
rup: RPC: Port mapper failure - RPC: Timed out |
| 41 |
The remote host is not running the portmapper (see \fBrpc.rstatd(8)\fP) |
| 42 |
and cannot accomodate any RPC-based services. The host may be down. |
| 43 |
.SH SEE ALSO |
| 44 |
\fBportmap(8)\fP, \fBrpc.rstatd(8)\fP, \fBinetd(8)\fP |
| 45 |
.SH HISTORY |
| 46 |
The \fBrup\fP command appeared in \fBSunOS\fP. |
| 47 |
.SH BUGS |
| 48 |
The sorting options are not implemented. |
| 49 |
.SH AUTHOR |
| 50 |
Adam Migus ([email protected]) |