Using Internet Services

Chapter 7 39
Listing Users with rwho
rwho Examples
rwho Examples
The following example lists all active users and all users who have been
idle for less than an hour:
rwho
acb hpabcd:ttyp3 Jun 2 08:32 :19
bjt hpabcf:tty3p3 Jun 2 09:35 <--Active
chas hpabcd:tty3p3 Jun 2 07:47 :27
cjc hpabcd:tty1p2 Jun 2 07:55 <--Active
dae hpabcf:ttyp2 Jun 2 08:28 :57
The following example listsall users logged into network hosts, including
those that have been idle for more than an hour:
rwho -a
acb hpabcd:ttyp3 Jun 2 08:32 :19
bjt hpabcf:tty3p3 Jun 2 09:35 <--Active
chas hpabcd:tty3p3 Jun 2 07:47 :27
cjc hpabcd:tty1p2 Jun 2 07:55 <--Active
dae hpabcf:ttyp2 Jun 2 08:28 :57
gen hpabcd:ttyp4 Jun 2 08:45 5:59
kg hpabcd:ttyp0 Jun 2 08:09 1:02
scb hpabce:tty3p1 Jun 2 12:12 3:24