rusers(1)
Requires Optional NFS Services Software
NAME
rusers − determine who is logged in on machines on local network
SYNOPSIS
rusers [−a] [−h] [−i] [−l] [−u] [host ...]
DESCRIPTION
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 an option. The broadcast process takes about two minutes.
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 flag is given, rusers(1) 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
−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(1) with a −R option.
−u Sort by number of users.
DIAGNOSTICS
The exit code of rusers is the number of errors (eg. bad host names) encountered; zero for success.
AUTHOR
rusers was developed by Sun Microsystems, Inc.
WARNINGS
Broadcasting does not work through gateways; therefore, rusers does not report information about machines that are reached only through gateways.
FILES
/etc/inetd.conf
SEE ALSO
rwho(1), who(1), inetd(1M), rusersd(1M).
INTERNATIONAL SUPPORT
8-bit data, 16-bit data, messages
Hewlett-Packard Company — HP-UX Release 8.05: June 1991