1 03/01/85  who
 2 
 3 Syntax as a command:  who {User_ids} {-control_args}
 4 
 5 
 6 Syntax as an active function:  [who {User_ids} {-control_args}]
 7 
 8 
 9 Function: lists the number, identification, and status of all users of
10 the system; it prints out a header and lists the name and project of
11 each user.  The header consists of the system name, the total number of
12 users, the current system load, the maximum load, the current number of
13 absentee users, and the maximum number of absentee users.  (See the
14 how_many_users command to print only the header.)
15 
16 
17 Arguments:
18 User_ids
19    are match names, where:
20    Person_id
21       lists users with the name Person_id.
22    .Project_id
23       lists users with the project name Project_id.
24    Person_id.Project.id
25       lists users with the specified person and project.
26 
27 
28 Control arguments:
29 -absentee, -as
30    lists absentee users (see "Notes").
31 -all, -a
32    lists all the interactive, absentee, and daemon users.
33 -brief, -bf
34    suppresses the printing of the header.  Not allowed for the active
35    function.
36 -daemon, -dmn
37    lists daemon users (see "Notes").
38 -interactive, -ia
39    lists interactive users (see "Notes").
40 
41 
42 -long, -lg
43    prints the date and time logged in, the terminal identification, and
44    the load units, name, and project of each user.  The header includes
45    installation identification and the time the system was brought up.
46    If available, the time of the next scheduled shutdown, the time when
47    service will resume after the shutdown, and the time of the previous
48    shutdown are printed.  Not allowed for the active function.
49 -name, -nm
50    sorts the output by the name (Person_id) of each user.
51 -project, -pj
52    sorts the output by the Project_id of each user.
53 
54 
55 Notes: If you supply none of -interactive, -absentee, or -daemon and
56 give no User_ids, then all interactive and absentee users are listed;
57 but if you specify User_ids, then all matching users are listed.  If
58 you provide one or more of -interactive, -absentee, or -daemon, only
59 processes of the selected type(s) are listed; if you also select
60 User_ids, then only users matching those control arguments and the
61 User_ids are listed.
62 
63 Absentee users are denoted in the list by an asterisk following
64 Person_id.Project_id.
65 
66 If you omit -name and -project, the output is sorted on login time.
67 You can't use both arguments together because the sort is performed on
68 one key at a time.
69 
70 
71 If you supply a User_id, the header is suppressed even if you give
72 -long.  If you use who with no arguments, the system responds with a
73 two-line header followed by a list of interactive users sorted
74 according to login time.
75 
76 Sometimes a Person_id.Project_id returned by the command is followed by
77 a "D" and/or an "S", where "D" refers to a disconnected process and "S"
78 refers to a suspended process.
79 
80 You can prevent your own name from being listed by all users'
81 invocations of who; to do this, see your project administrator.
82 
83 
84 Notes on active function: The active function returns a list of
85 Person_id.Project_id pairs, requoted and separated by spaces.  You can
86 use control arguments to select and sort.