rusers - determine who is logged in on machines on local network
rusers [-a] [-h] [-i] [-l] [-u] [host ...]
rusers produces output similar to the "quick" option of who(1), but
for remote machines. It broadcasts on the local network and prints
the responses it receives. Though the listing is normally in the
order that responses are received, the order can be changed by
specifying a command-line option. The broadcast process takes about
When host arguments are given, instead of broadcasting, rusers only
queries the list of specified hosts.
For each machine, the default is to print a line listing the host name
and all users on that host. When the -l option is given, rusers uses
an output format similar to rwho(1). If a user has not typed on the
system for a minute or more, the idle time is reported.
A remote host only responds if it is running the rusersd(1M) daemon.
rusers recognizes the following command-line options:
-a Give a report for a machine even if no users are logged
in on it.
-h Sort alphabetically by host name.
-i Sort by idle time.
-l Give a longer listing in the style of who-R (see who(1)).
-u Sort by number of users.
rusers returns exit code zero if no errors are encountered; otherwise
it returns the number of errors found.
rusers was developed by Sun Microsystems, Inc.
Broadcasting does not work through gateways; therefore, rusers does
not report information about machines that are reached only through
Hewlett-Packard Company - 1 - HP-UX Release 11i: November 2000
rwho(1), who(1), inetd(1M), rusersd(1M).
Hewlett-Packard Company - 2 - HP-UX Release 11i: November 2000