Shows which users are logged in to hosts on the local network.
rwho [ -a ]
The /usr/bin/rwho command displays the user name, host name, and start date and time of each session for everyone on the local network who is currently logged in to a host running the rwhod daemon. If a workstation is inactive for at least 3 minutes, the rwho command reports the idle time as a number of minutes in the last column. After an hour of inactivity, a user is not included unless the -a flag is specified.
Note: Since this command displays a lot of output, use this command with caution if the local network has a large number of users.
Status information is broadcast once every 3 minutes by each network host running the rwhod daemon. Any activity (such as a user logging on or off) that takes place between broadcasts is not reflected until the next broadcast.
-a | Includes all users. Without this flag, users whose sessions are idle an hour or more are not included in the report. |
To get a report of all users currently logged in to hosts on the local network, enter:
rwho
Information similar to the following is displayed:
bob host2:pts5 Nov 17 06:30 :20 bob host7:console Nov 17 06:25 :25 fran host1:pts0 Nov 17 11:20 :51 fran host1:pts8 Nov 16 15:33 :42 fran host4:console Nov 17 16:32 server host2:console Nov 17 06:58 :20 alice host2:pts6 Nov 17 09:22
/var/spool/rwho/whod.* | Indicates data files received from remote rwhod daemons. |
The ruptime command, rwho command, who command.
The gethostname subroutine.
The services file format.
Network Overview in AIX Version 4.3 System Management Guide: Communications and Networks.