Open System Services Shell and Utilities Reference Manual (G06.25+, H06.03+)

User Commands (v - z) who(1)
NAME
who - Identies users currently logged in
SYNOPSIS
who [-mTu]
The who command displays information about users on the local system.
FLAGS
-m Displays information about the current terminal.
-T Displays the status of the terminal line and indicates who can write to that terminal as
follows:
+ Writable by anyone.
- Writable only by the superuser or its owner.
? Bad line encountered.
-u Displays the username, terminal name, login time (time login shell was started), line
activity, and process-ID of each current user. The LC_TIME environment variable
controls the format of the login time.
DESCRIPTION
The who command displays the following information for the users and/or processes you specify:
User name
Terminal name
Date
Time of login
The general output format of the who command is as follows:
user [state] line time [activity][process_ID]
where:
The user argument species the users login name.
The state argument indicates whether or not the line is readable by everyone (see the -T
ag).
The line argument species the name of the TELNET line as found in the /dev directory.
The time argument species the time that user logged in.
The activity argument species the hours and minutes since activity last occurred on that
users line. A . (dot) here indicates line activity within the last minute. If the line has
been quiet more than 24 hours or has not been used since the last system start-up, the
entry is marked as old.
The process_ID argument species the process-ID of the users shell.
Note that who only identies users on the local node.
527188-003 Hewlett-Packard Company 1029