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