1.\" $NetBSD: rusers.1,v 1.15 2012/03/22 07:58:19 wiz Exp $ 2.\" 3.\" Copyright (c) 1983, 1990 The Regents of the University of California. 4.\" 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: @(#)rusers.1 6.7 (Berkeley) 4/23/91 31.\" $NetBSD: rusers.1,v 1.15 2012/03/22 07:58:19 wiz Exp $ 32.\" 33.Dd April 23, 1991 34.Dt RUSERS 1 35.Os 36.Sh NAME 37.Nm rusers 38.Nd who is logged in to machines on local network 39.Sh SYNOPSIS 40.Nm 41.Op Fl al 42.Op Ar host ... 43.Sh DESCRIPTION 44The 45.Nm 46command produces output similar to 47.Xr who 1 , 48but for the list of hosts or all machines on the local 49network. 50For each host responding to the rusers query, 51the hostname with the names of the users currently logged 52on is printed on each line. 53The rusers command will wait for 54one minute to catch late responders. 55.Pp 56The following options are available: 57.Bl -tag -width indent 58.It Fl a 59Print all machines responding even if no one is currently logged in. 60.It Fl l 61Print a long format listing. 62This includes the user name, host name, 63tty that the user is logged in to, the date and time the user 64logged in, the idle time (in minutes), 65and the remote host they logged in from (if applicable). 66.El 67.Sh DIAGNOSTICS 68.Bl -tag -width indent 69.It rusers: RPC: Program not registered 70The 71.Xr rpc.rusersd 8 72daemon has not been started on the remote host. 73.It rusers: RPC: Timed out 74A communication error occurred. 75Either the network is 76excessively congested, or the 77.Xr rpc.rusersd 8 78daemon has terminated on the remote host. 79.It rusers: RPC: Port mapper failure - RPC: Timed out 80The remote host is not running the portmapper (see 81.Xr rpcbind 8 ) , 82and cannot accommodate any RPC-based services. 83The host may be down. 84.El 85.Sh SEE ALSO 86.Xr rwho 1 , 87.Xr users 1 , 88.Xr who 1 , 89.Xr rpc.rusersd 8 , 90.Xr rpcbind 8 91.Sh HISTORY 92The 93.Nm 94command 95appeared in 96.Tn SunOS . 97.Sh BUGS 98The sorting options are not implemented. 99