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

rusers(1)

HP-UX 11i Version 3: February 2007
» 

Technical documentation

» Feedback
Content starts here

 » Table of Contents

 » Index

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

Options

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

rusers returns exit code zero if no errors are encountered; otherwise it returns the number of errors found.

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

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