WHO(1) COMMAND REFERENCE WHO(1)
NAME
who, users, u - who's logged in on local machines or on the
current host system
SYNOPSIS
who [ -q ] [ -s ] [ -H ] [ -T ] [ -N ] [who-filename]
who [ am I ]
users
u
DESCRIPTION
Without an argument, who lists the login name, terminal
name, login time, and idle time for each current UTek user.
The commands users and u are short forms of who that lists
only the names (equivalent to who -q).
Without an argument, who examines the /etc/utmp file to
obtain its information. If a file is given, that file is
examined. Typically the given file will be /usr/adm/wtmp,
which contains a record of all the logins, logouts, and
crashes since the creation of the wtmp file. Each login is
listed with the user name, terminal name (with /dev/
suppressed), and date and time. When an argument is given,
logouts produce a similar line without a user name. Reboots
produce a line with x in the place of the device name and a
fossil time indicative of when the system went down.
With the arguments, am I (or am i) who tells who you are
logged in as.
The idle time is the time since the last input by the user.
If the user is active (idle time < 1 min) a period will be
printed; if the user has left the line hanging (idle time >
24 hrs) the word "old" will be printed. This information is
suppressed with the -s switch.
OPTIONS
-q Report only user names separated by spaces.
-H Print out a header before the output.
-s Short form, don't check or print idle time.
-T Print status of tty:
+ writeable
- not writeable
x exclusive open
? hung (no carrier)
Printed 4/6/89 1
WHO(1) COMMAND REFERENCE WHO(1)
-N Network who; print carriage return/line feed after each
name. Used when invoked remotely by hosts with different
incompatible operating systems.
RETURN VALUE
[USAGE] Incorrect command line syntax. Execution
terminated.
[NP_ERR] An error occurred that was not a system
error. Execution terminated.
[P_ERR] A system error occurred. Execution
terminated. See intro(2) for more
information on system errors.
[NP_WARN] An error warranting a warning message
occurred. Execution continues.
CAVEATS
The format of the remote who output may vary, no standard
format is required.
SEE ALSO
utmp(5) and wtmp(5).
Printed 4/6/89 2
%%index%%
na:216,136;
sy:352,457;
de:809,1673;
op:2482,489;3259,221;
rv:3480,611;
ca:4091,197;
se:4288,153;
%%index%%000000000131