Annotation of src/usr.bin/ruptime/ruptime.1, Revision 1.6
1.6 ! aaron 1: .\" $OpenBSD: ruptime.1,v 1.5 1999/06/05 01:21:39 aaron Exp $
1.1 deraadt 2: .\" Copyright (c) 1983, 1990 The Regents of the University of California.
3: .\" All rights reserved.
4: .\"
5: .\" Redistribution and use in source and binary forms, with or without
6: .\" modification, are permitted provided that the following conditions
7: .\" are met:
8: .\" 1. Redistributions of source code must retain the above copyright
9: .\" notice, this list of conditions and the following disclaimer.
10: .\" 2. Redistributions in binary form must reproduce the above copyright
11: .\" notice, this list of conditions and the following disclaimer in the
12: .\" documentation and/or other materials provided with the distribution.
13: .\" 3. All advertising materials mentioning features or use of this software
14: .\" must display the following acknowledgement:
15: .\" This product includes software developed by the University of
16: .\" California, Berkeley and its contributors.
17: .\" 4. Neither the name of the University nor the names of its contributors
18: .\" may be used to endorse or promote products derived from this software
19: .\" without specific prior written permission.
20: .\"
21: .\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
22: .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
23: .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
24: .\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
25: .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
26: .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
27: .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28: .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29: .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30: .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31: .\" SUCH DAMAGE.
32: .\"
33: .\" from: @(#)ruptime.1 6.9 (Berkeley) 4/23/91
34: .\"
35: .Dd April 23, 1991
36: .Dt RUPTIME 1
1.5 aaron 37: .Os
1.1 deraadt 38: .Sh NAME
39: .Nm ruptime
40: .Nd show host status of local machines
41: .Sh SYNOPSIS
42: .Nm ruptime
43: .Op Fl alrtu
44: .Sh DESCRIPTION
1.4 aaron 45: .Nm ruptime
1.1 deraadt 46: gives a status line like
47: .Ar uptime
48: for each machine on the local network; these are formed from packets
49: broadcast by each host on the network once a minute.
50: .Pp
51: Machines for which no status report has been received for 11
52: minutes are shown as being down.
53: .Pp
1.6 ! aaron 54: The options are as follows:
1.1 deraadt 55: .Bl -tag -width Ds
56: .It Fl a
57: Users idle an hour or more are not counted unless the
58: .Fl a
59: flag is given.
60: .It Fl l
61: Sort by load average.
62: .It Fl r
63: Reverses the sort order.
64: .It Fl t
65: Sort by uptime.
66: .It Fl u
67: Sort by number of users.
68: .El
69: .Pp
70: The default listing is sorted by host name.
71: .Sh FILES
72: .Bl -tag -width /var/rwho/whod.* -compact
73: .It Pa /var/rwho/whod.*
74: data files
75: .El
76: .Sh SEE ALSO
77: .Xr rup 1 ,
78: .Xr rwho 1 ,
1.3 deraadt 79: .Xr uptime 1 ,
80: .Xr rwhod 8
1.1 deraadt 81: .Sh HISTORY
1.4 aaron 82: .Nm ruptime
1.1 deraadt 83: appeared in
84: .Bx 4.2 .