xref: /freebsd/usr.bin/rusers/rusers.1 (revision fbbd9655)
161ce166cSGeoff Rehmet.\" Copyright (c) 1983, 1990 The Regents of the University of California.
261ce166cSGeoff Rehmet.\" All rights reserved.
361ce166cSGeoff Rehmet.\"
461ce166cSGeoff Rehmet.\" Redistribution and use in source and binary forms, with or without
561ce166cSGeoff Rehmet.\" modification, are permitted provided that the following conditions
661ce166cSGeoff Rehmet.\" are met:
761ce166cSGeoff Rehmet.\" 1. Redistributions of source code must retain the above copyright
861ce166cSGeoff Rehmet.\"    notice, this list of conditions and the following disclaimer.
961ce166cSGeoff Rehmet.\" 2. Redistributions in binary form must reproduce the above copyright
1061ce166cSGeoff Rehmet.\"    notice, this list of conditions and the following disclaimer in the
1161ce166cSGeoff Rehmet.\"    documentation and/or other materials provided with the distribution.
12fbbd9655SWarner Losh.\" 3. Neither the name of the University nor the names of its contributors
1361ce166cSGeoff Rehmet.\"    may be used to endorse or promote products derived from this software
1461ce166cSGeoff Rehmet.\"    without specific prior written permission.
1561ce166cSGeoff Rehmet.\"
1661ce166cSGeoff Rehmet.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
1761ce166cSGeoff Rehmet.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
1861ce166cSGeoff Rehmet.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
1961ce166cSGeoff Rehmet.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
2061ce166cSGeoff Rehmet.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
2161ce166cSGeoff Rehmet.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
2261ce166cSGeoff Rehmet.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
2361ce166cSGeoff Rehmet.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
2461ce166cSGeoff Rehmet.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
2561ce166cSGeoff Rehmet.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2661ce166cSGeoff Rehmet.\" SUCH DAMAGE.
2761ce166cSGeoff Rehmet.\"
2861ce166cSGeoff Rehmet.\"     from: @(#)rusers.1	6.7 (Berkeley) 4/23/91
29c3aac50fSPeter Wemm.\" $FreeBSD$
3061ce166cSGeoff Rehmet.\"
3161ce166cSGeoff Rehmet.Dd April 23, 1991
3261ce166cSGeoff Rehmet.Dt RUSERS 1
3362500372SRuslan Ermilov.Os
3461ce166cSGeoff Rehmet.Sh NAME
3561ce166cSGeoff Rehmet.Nm rusers
3661ce166cSGeoff Rehmet.Nd who is logged in to machines on local network
3761ce166cSGeoff Rehmet.Sh SYNOPSIS
388fe908efSRuslan Ermilov.Nm
3961ce166cSGeoff Rehmet.Op Fl al
4061ce166cSGeoff Rehmet.Op Ar host ...
4161ce166cSGeoff Rehmet.Sh DESCRIPTION
4261ce166cSGeoff RehmetThe
43223884e5SPhilippe Charnier.Nm
4461ce166cSGeoff Rehmetcommand produces output similar to
45c66cf883SPhilippe Charnier.Xr who 1 ,
46c66cf883SPhilippe Charnierbut for the list of
47c66cf883SPhilippe Charnier.Ar host Ns s
48c66cf883SPhilippe Charnieror all machines on the local
4987faa07bSSheldon Hearnnetwork.
50c66cf883SPhilippe CharnierFor each
51c66cf883SPhilippe Charnier.Ar host
52d3b7ea3dSPhilippe Charnierresponding to the
53d3b7ea3dSPhilippe Charnier.Nm
54d3b7ea3dSPhilippe Charnierquery,
5561ce166cSGeoff Rehmetthe hostname with the names of the users currently logged
5687faa07bSSheldon Hearnon is printed on each line.
57d3b7ea3dSPhilippe CharnierThe
58d3b7ea3dSPhilippe Charnier.Nm
59d3b7ea3dSPhilippe Charniercommand will wait for
6061ce166cSGeoff Rehmetone minute to catch late responders.
6161ce166cSGeoff Rehmet.Pp
6261ce166cSGeoff RehmetThe following options are available:
6361ce166cSGeoff Rehmet.Bl -tag -width indent
6461ce166cSGeoff Rehmet.It Fl a
6561ce166cSGeoff RehmetPrint all machines responding even if no one is currently logged in.
6661ce166cSGeoff Rehmet.It Fl l
6787faa07bSSheldon HearnPrint a long format listing.
6887faa07bSSheldon HearnThis includes the user name, host name,
6961ce166cSGeoff Rehmettty that the user is logged in to, the date and time the user
7061ce166cSGeoff Rehmetlogged in, the amount of time since the user typed on the keyboard,
7161ce166cSGeoff Rehmetand the remote host they logged in from (if applicable).
7261ce166cSGeoff Rehmet.El
7361ce166cSGeoff Rehmet.Sh DIAGNOSTICS
7419ab52cbSDima Dorfman.Bl -diag
7519ab52cbSDima Dorfman.It rusers: RPC: Program not registered
7661ce166cSGeoff RehmetThe
7761ce166cSGeoff Rehmet.Xr rpc.rusersd 8
7861ce166cSGeoff Rehmetdaemon has not been started on the remote host.
7919ab52cbSDima Dorfman.It rusers: RPC: Timed out
806a3e8b0aSRuslan ErmilovA communication error occurred.
816a3e8b0aSRuslan ErmilovEither the network is
8261ce166cSGeoff Rehmetexcessively congested, or the
8361ce166cSGeoff Rehmet.Xr rpc.rusersd 8
8461ce166cSGeoff Rehmetdaemon has terminated on the remote host.
8519ab52cbSDima Dorfman.It rusers: "RPC: Port mapper failure - RPC: Timed out"
8661ce166cSGeoff RehmetThe remote host is not running the portmapper (see
878657581bSMaxim Sobolev.Xr rpcbind 8 ) ,
886a3e8b0aSRuslan Ermilovand cannot accommodate any RPC-based services.
896a3e8b0aSRuslan ErmilovThe host may be down.
9061ce166cSGeoff Rehmet.El
9161ce166cSGeoff Rehmet.Sh SEE ALSO
92223884e5SPhilippe Charnier.Xr rwho 1 ,
93223884e5SPhilippe Charnier.Xr users 1 ,
9461ce166cSGeoff Rehmet.Xr who 1 ,
95914f6e62SJoel Dahl.Xr rpc.rusersd 8 ,
96914f6e62SJoel Dahl.Xr rpcbind 8
9761ce166cSGeoff Rehmet.Sh HISTORY
9861ce166cSGeoff RehmetThe
99223884e5SPhilippe Charnier.Nm
10061ce166cSGeoff Rehmetcommand
10161ce166cSGeoff Rehmetappeared in
10261ce166cSGeoff Rehmet.Em Sun-OS .
10361ce166cSGeoff Rehmet.Sh BUGS
10461ce166cSGeoff RehmetThe sorting options are not implemented.
105