xref: /freebsd/usr.bin/rusers/rusers.1 (revision bdcbfde31e8e9b343f113a1956384bdf30d1ed62)
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.
12*fbbd9655SWarner 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.Dd April 23, 1991
2961ce166cSGeoff Rehmet.Dt RUSERS 1
3062500372SRuslan Ermilov.Os
3161ce166cSGeoff Rehmet.Sh NAME
3261ce166cSGeoff Rehmet.Nm rusers
3361ce166cSGeoff Rehmet.Nd who is logged in to machines on local network
3461ce166cSGeoff Rehmet.Sh SYNOPSIS
358fe908efSRuslan Ermilov.Nm
3661ce166cSGeoff Rehmet.Op Fl al
3761ce166cSGeoff Rehmet.Op Ar host ...
3861ce166cSGeoff Rehmet.Sh DESCRIPTION
3961ce166cSGeoff RehmetThe
40223884e5SPhilippe Charnier.Nm
4161ce166cSGeoff Rehmetcommand produces output similar to
42c66cf883SPhilippe Charnier.Xr who 1 ,
43c66cf883SPhilippe Charnierbut for the list of
44c66cf883SPhilippe Charnier.Ar host Ns s
45c66cf883SPhilippe Charnieror all machines on the local
4687faa07bSSheldon Hearnnetwork.
47c66cf883SPhilippe CharnierFor each
48c66cf883SPhilippe Charnier.Ar host
49d3b7ea3dSPhilippe Charnierresponding to the
50d3b7ea3dSPhilippe Charnier.Nm
51d3b7ea3dSPhilippe Charnierquery,
5261ce166cSGeoff Rehmetthe hostname with the names of the users currently logged
5387faa07bSSheldon Hearnon is printed on each line.
54d3b7ea3dSPhilippe CharnierThe
55d3b7ea3dSPhilippe Charnier.Nm
56d3b7ea3dSPhilippe Charniercommand will wait for
5761ce166cSGeoff Rehmetone minute to catch late responders.
5861ce166cSGeoff Rehmet.Pp
5961ce166cSGeoff RehmetThe following options are available:
6061ce166cSGeoff Rehmet.Bl -tag -width indent
6161ce166cSGeoff Rehmet.It Fl a
6261ce166cSGeoff RehmetPrint all machines responding even if no one is currently logged in.
6361ce166cSGeoff Rehmet.It Fl l
6487faa07bSSheldon HearnPrint a long format listing.
6587faa07bSSheldon HearnThis includes the user name, host name,
6661ce166cSGeoff Rehmettty that the user is logged in to, the date and time the user
6761ce166cSGeoff Rehmetlogged in, the amount of time since the user typed on the keyboard,
6861ce166cSGeoff Rehmetand the remote host they logged in from (if applicable).
6961ce166cSGeoff Rehmet.El
7061ce166cSGeoff Rehmet.Sh DIAGNOSTICS
7119ab52cbSDima Dorfman.Bl -diag
7219ab52cbSDima Dorfman.It rusers: RPC: Program not registered
7361ce166cSGeoff RehmetThe
7461ce166cSGeoff Rehmet.Xr rpc.rusersd 8
7561ce166cSGeoff Rehmetdaemon has not been started on the remote host.
7619ab52cbSDima Dorfman.It rusers: RPC: Timed out
776a3e8b0aSRuslan ErmilovA communication error occurred.
786a3e8b0aSRuslan ErmilovEither the network is
7961ce166cSGeoff Rehmetexcessively congested, or the
8061ce166cSGeoff Rehmet.Xr rpc.rusersd 8
8161ce166cSGeoff Rehmetdaemon has terminated on the remote host.
8219ab52cbSDima Dorfman.It rusers: "RPC: Port mapper failure - RPC: Timed out"
8361ce166cSGeoff RehmetThe remote host is not running the portmapper (see
848657581bSMaxim Sobolev.Xr rpcbind 8 ) ,
856a3e8b0aSRuslan Ermilovand cannot accommodate any RPC-based services.
866a3e8b0aSRuslan ErmilovThe host may be down.
8761ce166cSGeoff Rehmet.El
8861ce166cSGeoff Rehmet.Sh SEE ALSO
89223884e5SPhilippe Charnier.Xr rwho 1 ,
90223884e5SPhilippe Charnier.Xr users 1 ,
9161ce166cSGeoff Rehmet.Xr who 1 ,
92914f6e62SJoel Dahl.Xr rpc.rusersd 8 ,
93914f6e62SJoel Dahl.Xr rpcbind 8
9461ce166cSGeoff Rehmet.Sh HISTORY
9561ce166cSGeoff RehmetThe
96223884e5SPhilippe Charnier.Nm
9761ce166cSGeoff Rehmetcommand
9861ce166cSGeoff Rehmetappeared in
9961ce166cSGeoff Rehmet.Em Sun-OS .
10061ce166cSGeoff Rehmet.Sh BUGS
10161ce166cSGeoff RehmetThe sorting options are not implemented.
102