Using HP-UX Internet Services (February 2007)

8 Listing Users with rwho
rwho lists information about HP-UX or UNIX hosts on the local area network. This
information is useful in identifying who is logged into the hosts on the network and
who is likely to be at their terminal or workstation.
Using rwho
For each user logged into a network host, rwho displays an information line in the
following format:
user host.line month day hours:minutes hours:minutes
user
Specifies the users login name.
host
Specifies the host to which the user is logged in. Only hosts
running the rwhod daemon are displayed.
line
Specifies the users terminal line.
month day
Specifies the date the user logged in.
hours:minutes
Specifies the time the user logged in (in 24-hour clock notation).
hours:minutes
Specifies the amount of time the user has been idle (in 24-hour
clock notation).
With rwho, you can list either of the following:
Users on network hosts who are active or who have been idle for less than one
hour.
All users logged into network hosts, regardless of the amount of time any one of
them have been idle.
rwho gets its information by broadcasting a query to the local area network. Only hosts
running the rwhod daemon will respond to the query.
rwhos list of users can get long when a large number of users are logged into the
network.
NOTE: rwho is not supported across X.25 links or networks using the PPL (SLIP)
product.
For more information, type man 1 rwho at the HP-UX prompt.
rwho Examples
The following example lists all active users and all users who have been idle for less
than an hour:
rwho
Using rwho 39