rusers(NC)


rusers -- who is logged in on local machines (RPC version)

Syntax

rusers [ -ahilu ] [ host ... ]

Description

The rusers command produces output similar to who(C) and a compact form with login names of users on one line, but for remote machines. It broadcasts on the local network, and prints the responses it receives. Normally, the listing is in the order that responses are received, but this order can be changed by specifying one of the options listed below. When host arguments are given, rather than broadcasting rusers will only query the list of specified hosts.

The default is to print out a listing with login names of users currently on the system in a compact, one line form, with one line per machine. When the -l flag is given, a who(C) style listing is used. In addition, if a user has not typed to the system for a minute or more, the idle time is reported.

A remote host will only respond if it is running the rusersd daemon, which is normally started up from /etc/nfs (see nfs(NADM)).

Options


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

-h
Sort alphabetically by host name.

-i
Sort by idle time.

-l
Give a longer listing in the style of who(C).

-u
Sort by number of users.

Limitations

Broadcasting does not work through gateways.

Files

/etc/hosts

See also

rwho(TC), who(C), nfs(NADM), rusersd(NADM)
© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 02 June 2005