'\"macro stdmacro
.if n .pH g1.rusers @(#)rusers	40.3 of 10/10/89
.\" Copyright 1989 AT&T
.\" @(#)rusers.1c 1.3 89/09/09 SMI; from UCB 4.1
'\" macro stdmacro
.\" Copyright (c) 1988 Sun Microsystems, Inc. - All Rights Reserved.
.\"
.nr X
.if \nX=0 .ds x} rusers 1 "" ""
.if \nX=1 .ds x} rusers 1 ""
.if \nX=2 .ds x} rusers 1 "" "\&"
.if \nX=3 .ds x} rusers "" "" "\&"
.TH \*(x}
.SH NAME
\f4rusers\f1 \- who's logged in on local machines
.SH SYNOPSIS
\f4rusers\f1
[
\f4\-ahilu\f1
]
\f2host\f1 .\|.\|.
.SH DESCRIPTION
.P
The
\f4rusers\f1
command produces output similar to
\f4who\f1(1),
but for remote machines.
The listing is in the order that responses are received,
but this order can be
changed by specifying one of the options listed below.
.P
The default is to print out the names
of the users logged in.
When the
\f4\-l\f1
flag is given,
additional information is printed for each user,
including idle time, when user logged in, and tty.
.P
A remote host will only respond if it is running the
\f4rusersd\f1(1M)
daemon, which may be started up from
\f4inetd\f1(1M)
or
\f4listen\f1(1M).
.P
The following options are available:
.TP
\f4\-a\f1
Give a report for a machine even if
no users are logged on.
.TP
\f4\-h\f1
Sort alphabetically by host name.
.TP
\f4\-i\f1
Sort by idle time.
.TP
\f4\-l\f1
Give a longer listing in the style of
\f4who\f1(1).
.TP
\f4\-u\f1
Sort by number of users.
.SH SEE ALSO
\f4inetd\fP(1M),
\f4listen\fP(1M),
\f4pmadm\fP(1M),
\f4rusersd\fP(1M),
\f4sacadm\fP(1M),
\f4who\fP(1).
