NAME [Toc] [Back]
rusers - determine who is logged in on machines on local network
SYNOPSIS [Toc] [Back]
rusers [-a] [-h] [-i] [-l] [-u] [host ...]
DESCRIPTION [Toc] [Back]
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.
Options [Toc] [Back]
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.
RETURN VALUE [Toc] [Back]
rusers returns exit code zero if no errors are encountered; otherwise
it returns the number of errors found.
AUTHOR [Toc] [Back]
rusers was developed by Sun Microsystems, Inc.
WARNINGS [Toc] [Back]
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 11i Version 2: August 2003
FILES [Toc] [Back]
SEE ALSO [Toc] [Back]
rwho(1), who(1), inetd(1M), rusersd(1M).
Hewlett-Packard Company - 2 - HP-UX 11i Version 2: August 2003 [ Back ]