rusers - who's logged in on local machines (RPC version)
rusers [ -a ] [ -h ] [ -i ] [ -l ] [ -n num ] [ -u ] [ host ... ]
The rusers command produces a listing of users on remote machines. It
broadcasts on the local network, and prints the responses it receives.
Normally, the listing is in the order that responses are received, but
this order can be changed by specifying one of the options listed below.
When host arguments are given, rather than broadcasting rusers will only
query the list of specified hosts.
The default is to print out a listing with one line per machine. When
the -l flag is given, a who(1) style listing is used. In addition, if a
user has not typed to the system for a minute or more, the idle time is
A remote host will only respond if it is running the rusersd daemon,
which is normally started up from inetd.
-a Gives a report for a machine even if no users are logged on.
-h Sort alphabetically by host name.
-i Sort by idle time.
-l Give a longer listing in the style of who.
-n Set the maximum number of hosts that can be listed. Default is 200.
-u Sort by number of users.
rwho(1C), inetd(1M), rusersd(1M)
Broadcasting does not work through gateways.
PPPPaaaaggggeeee 1111 [ Back ]