xref: /openbsd/usr.bin/rup/rup.1 (revision 826ce532)
1*826ce532Stedu.\"	$OpenBSD: rup.1,v 1.14 2014/04/24 15:03:04 tedu Exp $
2df930be7Sderaadt.\"
3df930be7Sderaadt.\" Copyright (c) 1985, 1991 The Regents of the University of California.
4df930be7Sderaadt.\" All rights reserved.
5df930be7Sderaadt.\"
6df930be7Sderaadt.\" Redistribution and use in source and binary forms, with or without
7df930be7Sderaadt.\" modification, are permitted provided that the following conditions
8df930be7Sderaadt.\" are met:
9df930be7Sderaadt.\" 1. Redistributions of source code must retain the above copyright
10df930be7Sderaadt.\"    notice, this list of conditions and the following disclaimer.
11df930be7Sderaadt.\" 2. Redistributions in binary form must reproduce the above copyright
12df930be7Sderaadt.\"    notice, this list of conditions and the following disclaimer in the
13df930be7Sderaadt.\"    documentation and/or other materials provided with the distribution.
14f75387cbSmillert.\" 3. Neither the name of the University nor the names of its contributors
15df930be7Sderaadt.\"    may be used to endorse or promote products derived from this software
16df930be7Sderaadt.\"    without specific prior written permission.
17df930be7Sderaadt.\"
18df930be7Sderaadt.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
19df930be7Sderaadt.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
20df930be7Sderaadt.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
21df930be7Sderaadt.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
22df930be7Sderaadt.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
23df930be7Sderaadt.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
24df930be7Sderaadt.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
25df930be7Sderaadt.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
26df930be7Sderaadt.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
27df930be7Sderaadt.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
28df930be7Sderaadt.\" SUCH DAMAGE.
29df930be7Sderaadt.\"
30df930be7Sderaadt.\"
31*826ce532Stedu.Dd $Mdocdate: April 24 2014 $
32df930be7Sderaadt.Dt RUP 1
332e0eb34fSaaron.Os
34df930be7Sderaadt.Sh NAME
35df930be7Sderaadt.Nm rup
36df930be7Sderaadt.Nd remote status display
37df930be7Sderaadt.Sh SYNOPSIS
38df930be7Sderaadt.Nm rup
39df930be7Sderaadt.Op Fl dhlt
40df930be7Sderaadt.Op Ar host ...
41df930be7Sderaadt.Sh DESCRIPTION
422e0eb34fSaaron.Nm
43df930be7Sderaadtdisplays a summary of the current system status of a particular
44a3b3f8a8Sjaredy.Ar host
45df930be7Sderaadtor all hosts on the local network.
46df930be7SderaadtThe output shows the current time of day, how long the system has
47df930be7Sderaadtbeen up,
48df930be7Sderaadtand the load averages.
49df930be7SderaadtThe load average numbers give the number of jobs in the run queue
50a3b3f8a8Sjaredyaveraged over 1, 5, and 15 minutes.
51df930be7Sderaadt.Pp
528cf461a5SaaronThe options are as follows:
53f1ba3473Saaron.Bl -tag -width Ds
54df930be7Sderaadt.It Fl d
554feec33dSaaronFor each host, report what its local time is.
56df930be7SderaadtThis is useful for checking time synchronization on a network.
57df930be7Sderaadt.It Fl h
58df930be7SderaadtSort the display alphabetically by host name.
59df930be7Sderaadt.It Fl l
60df930be7SderaadtSort the display by load average.
61df930be7Sderaadt.It Fl t
62df930be7SderaadtSort the display by up time.
63df930be7Sderaadt.El
64df930be7Sderaadt.Pp
65df930be7SderaadtThe
66df930be7Sderaadt.Xr rpc.rstatd 8
67df930be7Sderaadtdaemon must be running on the remote host for this command to
68df930be7Sderaadtwork.
692e0eb34fSaaron.Nm
70a3b3f8a8Sjaredyuses an RPC protocol defined in
71a3b3f8a8Sjaredy.Pa /usr/include/rpcsvc/rstat.x .
72ad32b772Saaron.Sh EXAMPLES
73b5ceb444Sjmc.Bd -literal -offset indent
748be06979Smpech$ rup otherhost
75df930be7Sderaadtotherhost      up 6 days, 16:45,  load average: 0.20, 0.23, 0.18
76df930be7Sderaadt.Ed
77df930be7Sderaadt.Sh DIAGNOSTICS
78a3b3f8a8Sjaredy.Bl -diag
79df930be7Sderaadt.It rup: RPC: Program not registered
80df930be7SderaadtThe
81df930be7Sderaadt.Xr rpc.rstatd 8
82df930be7Sderaadtdaemon has not been started on the remote host.
83df930be7Sderaadt.It rup: RPC: Timed out
84ad32b772SaaronA communication error occurred.
85ad32b772SaaronEither the network is excessively congested, or the
86df930be7Sderaadt.Xr rpc.rstatd 8
87df930be7Sderaadtdaemon has terminated on the remote host.
88df930be7Sderaadt.It rup: RPC: Port mapper failure - RPC: Timed out
89df930be7SderaadtThe remote host is not running the portmapper (see
90df930be7Sderaadt.Xr portmap 8 ) ,
91ad32b772Saaronand cannot accommodate any RPC-based services.
92ad32b772SaaronThe host may be down.
93df930be7Sderaadt.El
94df930be7Sderaadt.Sh SEE ALSO
95df930be7Sderaadt.Xr portmap 8 ,
96df930be7Sderaadt.Xr rpc.rstatd 8
97df930be7Sderaadt.Sh HISTORY
98df930be7SderaadtThe
992e0eb34fSaaron.Nm
100df930be7Sderaadtcommand
101a3b3f8a8Sjaredyappeared in SunOS.
102