Reports a list of users logged on to remote machines.
/usr/bin/rusers [ -a ] [ -l ] [ -u | -h | -i ] [ Host ...]
The rusers command produces a list of users who are logged on to remote machines. The rusers command does this by broadcasting to each machine on the local network and printing the responses it receives. Normally, the system prints the responses in the order they are received. To change this order, specify one of the flags. In addition, when you provide a Host parameter, the rusers command queries the host or hosts you specify, rather than broadcasting to all hosts.
By default, each entry contains a list of users for each machine. Each of these entries includes the names of all users logged in that machine. In addition, when the user does not type into the system for a minute or more, the rusers command reports the user's idle time.
A remote host responds only if it is running the rusersd daemon, which is normally started up from the inetd daemon.
Note: Broadcasting does not work through gateways. Therefore, if you do not specify a host, only hosts on your network can respond to the rup command.
-a | Gives a report for a machine even if no users are logged in. |
-h | Sorts alphabetically by host name. |
-i | Sorts by idle time. |
-l | Gives a longer listing similar to the who command. |
-u | Sorts by number of users. |
rusers
rusers -h
rusers -h plutoIn this example, the rusers command produces a list of users on the host named pluto.
rusers -i
rusers -u
/etc/inetd.conf | |
TCP/IP configuration file that starts RPC daemons and other TCP/IP daemons. |
The rwho command, who command.
The inetd daemon, rusersd daemon.
Network File System (NFS) Overview for System Management in AIX Version 4.3 System Management Guide: Communications and Networks.