Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP-UX Reference > R


HP-UX 11i Version 3: February 2007

Technical documentation

» Feedback
Content starts here

 » Table of Contents

 » Index


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 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 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:


Give a report for a machine even if no users are logged in on it.


Sort alphabetically by host name.


Sort by idle time.


Give a longer listing in the style of who-R (see who(1)).


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 gateways.



Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 1983-2007 Hewlett-Packard Development Company, L.P.