Reports a list of users logged on to remote machines.
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.
Item | Description |
---|---|
-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 pluto
In this example, the rusers command produces a list of users on the host named pluto.rusers -i
rusers -u
Item | Description |
---|---|
/etc/inetd.conf | TCP/IP configuration file that starts RPC daemons and other TCP/IP daemons. |