SYSTAT - Mark Goegelman Johnson and Johnson Products Inc. Medical Research Center US Route #1 New Brunswick, N.J. 08903 Tel: 201-524-5049 The author welcomes comments and suggestions concerning SYSTAT. Release 1.0 of SYSTAT has been tested on RSX11M 3.1, 3.2 and MPLUS. A new release which supports many of the MPLUS bells and whistles (accounting information and shared hi-seg in particular) is being debugged and should be available on the FALL 80 DECUS tapes. Features of release 1.0 (4/15/80): 1. System logo, time, day and date 2. TTY #, privilege indicator, user name, the protection and (if not same) the default UIC and all allocated devices. 3. Task name, size, partition name, run priority, most state codes 4. All SET characteristics for a TTY. 5. GEN total in words, system error count, dynamic pool stats, and free space on SY: and LB: (see build file) 6. File structure status for all mounted files-11 volumes: device name, free space, owner, home block label (disks), and VCB label 7. Misc. switches: Help, All terminals, Remotes only, user Names only, a specific terminal, self, Mnemonic definitions, Identify version, display Login.txt message of the day, clear screen, Terminal characteristics, etc. 8. Continuous SYSTAT with specified sleep time SYSTAT will attach to your terminal if possible, else break-through writes will be used. Some samples: >SYS C Status of J & J Research Timesharing at 3:57:49.1 PM on Thursday 7-FEB-80 CO0: # [0,0] MTAACP 2.7K GEN 200. acp ckp nsd out prv stp SHF... 0.4K SHFPAR 105. fxd ncp prv stp F11ACP 6.3K FCPPAR 149. acp cal nsd prv stp TT0: $ [2,11] slave MT0: AT.T0 8.0K GEN 65. mcr prv stp tio wfr SLAVE 8.0K GEN 65. prv wfr TT5: $ [3,5] DK0: DK1: ...SYS 3.1K GEN 140. prv ...AT. 8.0K GEN 65. prv wfr CRF... 7.4K GEN 50. slv wfr ...TKB 31.4K GEN 50. wfr TT6: [100,105] ti ...MAK 9.5K GEN 50. ckp out stp tio wfr TT7: [100,112] cts ...PIP 8.4K GEN 50. wfr TT12: $ [1,16] TT21: [301,102] remote slave TT21 22.4K GEN 50. TT22: [312,100] remote ...TEC 18.1K GEN 50. wfr Up: 427:35:04 GEN=133.7K Syserr=16. Pool=1434.:3088.:39. SY0:19641. >SYS 21AT TT21: # [0,0] disabled remote speed=300 buf=72. lines=12. hfill=5 term=unknown nocrt echo noescseq nohold nolower nola180s nola30s novt05b noebc noformfeed nofdx nohht norpa typeahead novfill wrap >SYS N TT0: $ TT5: $ TT6: TT7: TT21: TT22: >SYS . TT5: $ [3,5] ...SYS 3.1K GEN 140. prv ...AT. 8.0K GEN 65. prv wfr CRF... 7.4K GEN 50. slv wfr ...TKB 31.4K GEN 50. wfr >SYS FV Device Free Space Owner Volume label DB0: 28181. public RSXM26 DB1: 104895. public SYSTEMS DK0: 3045. none DEVBACKUP DK1: dismount free DK2: 138. TT7: SCRATCH MT0: 512. TT5: SYSTAT >SYS H SYSTAT (SYS or SY or S) has the following switches: A - All terminals (irrespective of login status) C - Include CO: F - File structure status G - General statistics H - Help (this text) I - Identify SYSTAT version number L - Login message of the day M - Mnemonics for state codes and TTY characteristics N - User names only R - Remote terminals only S - Short SYSTAT T - Terminal characteristics V - Volume names for structures mounted and allocated to your TTnn: (all volumes if privileged) (the F switch must also be specified) W - indicate task sizes in words (default is Kwords) X - Clear the screen a la VT52 Zn - continuous SYSTAT with sleep time of n seconds (privileged) nn - SYSTAT for terminal nn (TTnn:) . - SYSTAT for TI: (the issuing terminal) The syntax is free format with invalid switches (characters) simply ignored. Example: MCR>S 5ACTX. All switches are parsed regardless of user privilege. *** Building SYSTAT *** The distribution consists of 7 files: SYSTAT.OLB - Object library of all SYSTAT modules SYSTAT.DOC - This document SYSTAT.HLP - Switch HELP file MNEMONICS.HLP - Mnemonics HELP file SYSBLD.CMD - Task-build command file SYSTAT.ODL - Overlay descriptor LOGO.MAC - Macro source containing installation name. The command file SYSBLD.CMD contains two global patches used to specify: - full/half duplex terminal driver - allow/disallow non-logged in remote SYSTATs (non-logged in execution is only possible by patching the MCRDIS module of MCR) - account file LB:[0,0]RSX11.SYS is sorted by UIC (the ACNT program does this automatically in 3.2 and MPLUS and manually in 3.1) - include/omit user names (First and last names are extracted from the system account file. Specify omit if the search overhead is too large) - Device name(s) and unit(s) for the general statistics summary line. See the command file comments for patch specifics. The file LOGO.MAC contains a PSECT with the text to be placed on the first line of a SYSTAT. Edit this file to reflect the name of your installation. The taskname of ...SYS will have to be changed for a 3.1 system (suggest ...STA). Two HELP files are read by SYSTAT (the H and M switches). The files must reside on LB:[1,2] as SYSTAT.HLP and MNEMONICS.HLP. *** Once these two files have been edited, SYSTAT can be built by typing TKB @SYSBLD. Note that SYSTAT must be installed.