WHO - Display Logged On Users The WHO command allows a user to determine the following: 1. What tasks are running (not stopped) on CO: 2. Which TT's (or VT's (=virtual terminals)) are logged in, 3. What their login UIC or NAME is, indicated by or [UIC] 4. What active tasks have that TT as their TI, 5. Flags for many of those tasks to show their current state, in the following priority: / = checkpointed ? = waiting for terminal input * = I/O outstanding # = waiting for an event flag blank = no special flagged state (usually compute-bound) Usage: >WHO[/HE] ! /HE will displays help text Additional qualifiers for WHO: TERCOM, EXAMPLE 2 EXAMPLE As an example of the execution of WHO: >WHO CO0: [DETACHED] TT00: ,#RJERSX,#RJEFCS TT12: ,/...AT.,*MACT12 TT17: , ...WHO TT20: ,?EDTT20 In this case RJERSX and RJEFCS are waiting for an event flag, ...AT. is checkpointed, MACT12 has I/O outstanding and EDTT20 is in a terminal input wait. 2 TERCOM TERCOM Common Area: The WHO program accesses the TERCOM data base which is a common area for terminal information. This common area is used to store information about logged on terminals and which user is using a terminal. It requires modified versions of HELLO and BYE (called HELLOTCM.TSK and BYETCM.TSK in the MSDGEN distribution for WHO) which send information to a task called TLOGGR when logons or logoffs occur. TLOGGR then adds or deletes entries from the TERCOM common area. Note that the TERCOM common area requires approximately 32 words of memory for each terminal in your system. So to determine the size of the TERCOM common partition, multiply the number of terminals plus 2 times 32. If for example, your system has 17 terminals (console plus 2 DZ11's) then the size of TERCOM would be determined as follows: # of words = (17+2) * 32 Since SET /MAIN is specified in 32 word units and 19 decimal is 23 octal, the corresponding SET command would be: SET /MAIN=TERCOM:*:23:COM The reason that 2 extra terminals must be added in is that TERCOM also supports two virtual terminals in addition to the number of physical terminals.