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 Who, without an argument, lists the loginname, 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 username, terminal name (with /dev/ suppressed), and date and time. When an argument is given, logouts produce a similar line without a username. 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. It can be suppressed with the -s switch. OPTIONS -q Report only usernames separated by spaces. This is the users(1n) command. -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 Printed 5/12/88 1
WHO(1) COMMAND REFERENCE WHO(1) ? hung (no carrier) -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 users(1n). Printed 5/12/88 2
%%index%% na:216,136; sy:352,457; de:809,1677; op:2486,502;3276,232; rv:3508,611; ca:4119,167; se:4286,157; %%index%%000000000131