rusers - who is logged in on remote machines
rusers [-ahilu] host...
The rusers command produces output similar to who(1), but for remote machines. The listing is in the order that responses are received, but this order can be changed by specifying one of the options listed below.
The default is to print out the names of the users logged in. When the –l flag is given, additional information is printed for each user:
userid hostname:terminal login_date login_time idle_time login_host
If hostname and login_host are the same value, the login_host field is not displayed. Likewise, if hostname is not idle, the idle_time is not displayed.
A remote host will only respond if it is running the rpc.rusersd(8) daemon, which may be started up from inetd(8) under the service identifier svc:/network/rpc/rusers:default. This service is disabled by default on Solaris 10 systems with a secure by default configuration and on all Solaris 11 systems, and must be enabled by an administrator in order for a host to respond to rusers queries.
If no name can be found for a host via the hosts(5) name service, rusers displays a numeric IP address for the host.
Give a report for a machine even if no users are logged on.
Sort alphabetically by host name.
Sort by idle time.
Give a longer listing in the style of who(1).
Sort by number of users.
See attributes(7) for descriptions of the following attributes:
|
who(1), attributes(7), inetd(8), rpc.rusersd(8)
The rusers command, including support for the options –a, –h, and –i, –l, and –u, has been present since the initial release of Solaris.