COMPILATION LISTING OF SEGMENT who Compiled by: Multics PL/I Compiler, Release 29, of July 28, 1986 Compiled at: Honeywell Bull, Phx. Az., Sys-M Compiled on: 08/04/87 1645.1 mst Tue Options: optimize map 1 /* *********************************************************** 2* * * 3* * Copyright, (C) Honeywell Information Systems Inc., 1982 * 4* * * 5* * Copyright (c) 1972 by Massachusetts Institute of * 6* * Technology and Honeywell Information Systems, Inc. * 7* * * 8* *********************************************************** */ 9 10 11 /* format: style4 */ 12 who: procedure; 13 14 /* WHO - print information about who's on Multics. 15* 16* HMU, HOW_MANY_USERS - give header lines with nusers and load. 17* 18* This command types out the userid's of listed logged-in users 19* from the segment "whotab", which is maintained by the answering service 20* program "lg_ctl_". The possible arguments are as follows: 21* 22* . -bf suppress header (not allowed for af) 23* . -lg print "long who" (not allowed for af) 24* . -nm sort lines on user name 25* . -pj sort lines on project id 26* . (the default sort is by time logged in) 27* . -as print information on absentee users 28* . -ia print information on interactive users 29* . -dmn print information on daemon users 30* . (default is -as -ia if none of -as -ia -dmn given) 31* . -all -as, -ia -dmn 32* . Name list only users with person name "Name" 33* . .Proj list only users with project name "Proj" 34* . Name.Proj list only users with person name "Name" and project "Proj" 35* 36* Initial coding by THVV, 9/6/70 */ 37 /* changed for absentee by EDS 7/71 */ 38 /* various changes by RBR 7/72 */ 39 /* error messages changed 09/15/78 S. Herbst */ 40 /* Modified May 1979 by T. Casey and S. Herbst for MR7.0a to add -interactive and -daemon, 41* and to list foreground absentee users correctly */ 42 /* who active function added 01/12/81 S. Herbst */ 43 /* 12/24/81 E. N. Kittlitz. whotab changes */ 44 /* 9/82 BIM -all, no daemons by default */ 45 /* 11/82 E. N. Kittlitz. list daemons if name explicitly given, do selection for af call */ 46 /* 06/84 J A Falksen. Utilize date_time_$format("date_time"|"^!!^