 
 The KMS System Accounting package is implemented via four tasks, ACC,
 LOGTSK, SYSLOG, and TSKLOG.  Accounting data is gathered both in RSX11.SYS
 (as always) and also in LB:[1,4]SYSLOG.DAT.  Beware, the terminal from
 which SYSLOG is running should not ASN a local LB: since it will confuse
 LOGTSK.  Further help using the accounting system may be obtained by
 typing HELP keword1 keyword2 where keywords are one of the following.
 
	SYSLOG ACC		Using the accounting control task
	SYSLOG BITDFN		Bit definitions of the accounting feature mask, $ACMSK
	SYSLOG DATA		Interpreting the data packets sent to LOGTSK
	SYSLOG TASK		Using Task Accounting
 
2	ACC
	@ACC.HLP
2	DATA
 
 			FORMATS OF DATA PACKETS SENT TO LOG...
  
 	WORD 1								  WORD 13
  
 	RECTYP
        -------------------------------------------------------------------------
 START	!  1  !HR!MIN!SEC! YR  ! MO  ! DAY ! TIC ! TPS !DELTA!  *  !  *  !$ACMSK!
 	-------------------------------------------------------------------------
 STOP	! -1  !HR!MIN!SEC! YR  ! MO  ! DAY ! TIC ! TPS !DELTA!TKNM1!TKNM2!$ACMSK!
 	-------------------------------------------------------------------------
 GLB	!  2  !HR!MIN!SEC!NULL1!NULL2!SHFCT!CKPCT!LDRCT!QICT1!QICT2!RUNCT!  *   !
 	-------------------------------------------------------------------------
 MEMORY	!  3  !HR!MIN!SEC!NTSKS!TKMEM!NCKP !CKMEM!TPOOL!LGFRG!NFRAG!NTSNT!  *   !
 	-------------------------------------------------------------------------
 DELTA	!  4  !HR!MIN!SEC! YR  ! MO  ! DAY ! TIC ! TPS !DELTA!TKNM1!TKNM2!$ACMSK!
 	-------------------------------------------------------------------------
 HELLO	!  5  !HR!MIN!SEC!TRMID!ACNT ! UIC !NILEG!  *  !  *  !  *  !  *  !  *   !
 	-------------------------------------------------------------------------
 BYE	!  6  !HR!MIN!SEC!TRMID!ACNT ! UIC !CPU1 !CPU2 !QICT1!QICT2!  *  !  *   !
 	-------------------------------------------------------------------------
 UPD	!  7  !HR!MIN!SEC!ACNT !SYSDV(2WDS)!NFILE!NBLKS!ABLKS!  *  !  *  !  *   !
 	-------------------------------------------------------------------------
 COPKT	!  8  !HR!MIN!SEC!  0  !  0  !  0  !CPU1 !CPU2 !QICT1!QICT2!  *  !  *   !
 	-------------------------------------------------------------------------
 TSKPKT	!  9  !HR!MIN!SEC!ACNT !CLK1 !CLK2 !CPU1 !CPU2 !QICT1!QICT2!  *  !  *   !
	-------------------------------------------------------------------------
 SPLPKT ! 10  !HR!MIN!SEC!ACNT !TOTPG!COPYS!  *  !  *  !  *  !TKNM1!TKNM2!  *   !
 	-------------------------------------------------------------------------
  
  
 	RECTYP	-1 - 99	RESERVED
		100-	USER USABLE
 
 $ACMSK	- SYSTEM ACCOUNT FEATURE MASK
 ABLK	- ALLOWED DISK BLOCKS ON SY:
 ACNT	- USER ACCOUNT NUMBER
 CKMEM	- MEM NEEDED FOR ALL CHKPT. TASKS
 CKPCT	- # OF CHECKPOINT REQUESTS
 CLK1	- WALL CLOCK RUN TIME(LOVAL)
 CLK2	-   "    "    "    " (HIVAL)
 COPYS  - NUMBER OF COPIES PRINTED OF FILE
 CPU1	- CPU TIME USED(LOVAL)
 CPU2	-  "    "   "  (HIVAL)
 DAY	- DAY OF MONTH
 DELTA	- SAMPLE INTERVAL IN MINUTES
 HR	- HOUR OF DAY
 LDRCT	- # LOADER REQUESTS
 LGFRG	- SIZE OF LARGEST POOL FRAGMENT
 MIN	- MINUTE OF HOUR
 MO	- MONTH OF YEAR
 NBLKS	- TOTAL # DISKS BLOCKS IN USE
 NCKP	- # TASKS CHECKPOINTED
 NFILE	- # USER FILES AT LOGOFF
 NFRAG	- # POOL FRAGMENTS
 NTSKS	- # TASKS IN CORE
 NTSNT	- # TIMES SYSLOG DID NOT SEND  
	  DATA BECAUSE POOL TOO LOW
 NILEG	- # ILLEGAL LOGIN ATTEMPTS
 NULL1	- TIME IN IDLE LOOP(TICS) - LOVAL
 NULL2	-  "    "    "     "  	- HIVAL
 QICT1	- # QIO'S ISSUED(LOVAL)
 QICT2	- # QIO'S ISSUED(HIVAL)
 RUNCT	- # RUN REQUESTS
 SEC	- SECOND OF MINUTE
 SHFCT	- # OF SHUFFLER REQUESTS
 SYSDV	- USER'S SYSTEM DEVICE(4 ASCII BYTES)
 TIC	- TIC OF SECOND
 TKMEM	- AMOUNT OF CORE USED BY TASKS
 TKNM1	- SENDER TASK NAME(RAD50)-PART 1
 TKNM2	- SENDER TASK NAME(RAD50)-PART 2
 TOTPAG - TOTAL PAGES PRINTED IN JOB
 TPOOL	- TOTAL SYSTEM POOL
 TPS	- # TICS/SEC OF CLOCK
 TRMID	- TERMINAL ID
	  (HI BYTE 	- 'T' OR 'V')
	  (LO BYTE 	- UNIT NUMBER)
 UIC	- USER'S LOGIN UIC
 YR	- YEAR OF UNIVERSE
 *	- RESERVED FOR FUTURE USE
	  DATA BECAUSE POOL TOO LOW
2	BITDFN
  BIT DEFINITIONS OF THE SYSTEM ACCOUNTING MASK, $ACMSK
 
  BIT 	0	1	CPU TIME ACCOUNTING ENABLED(USER AND NULL TIME)
  BIT	1	2	QIO ACCOUNTING DESIRED/ENABLED
  BIT	2	4	DIRECTIVE ACCOUNTING DESIRED/ENABLED
  BIT	3      10	LOG GLOBAL CPU USAGE STATISTICS EVERY DELTA MIN.
  BIT	4      20	LOG MEMORY USAGE STATISTICS EVERY DELTA MIN.
  BIT	5      40	LOG MEMORY STATISTICS IF CORE FULL/FILES CHECKPOINTED
  BIT 	6     100	LOG MEMORY STATISTICS IF POOL <500 WORDS, >200 WORDS
  BIT	7     200	LOG HELLO AND BYE SIGN ON/OFF TIMES AND TERMINALS
  BIT	8     400	LOG CO: STATISTICS
  BIT	9    1000	ENABLE TERMINAL QIO ACCOUNTING
  BIT  10    2000	TASK ACCOUNTING ENABLED
  BIT  11    4000	WRITE TASK ACCOUNTING STATISTICS TO TI:
  BIT  12   10000	LOG PRINT SPOOLER STATISTICS
  BIT 13-15		UNDEFINED
 
2	TASK
 
     Task accounting as presently implemented is ment to be used as a performance
 measurement or diagnostic tool.  To use Task Accounting first install TSKLOG.
 Do not run it with any name other than TSKLOG as then ACC will not be able to
 stop it and recover the used pool and code node(must reboot).
     To start Task logging, type ACC /TASK after system logging is underway.
 QIO and User QIO accounting must be active for the ACC /TASK command to work.
 TSKLOG will prompt for a list of tasks.  Terminate the list with a <CR> to
 end the list.  External MCR commands(eg ...PIP) must be entered as ...XYZ for
 the first version and XYZTNN for any given terminal spawned version.  To stop
 task accounting type ACC /STOP.  During task accounting, output can be redireced
 to your terminal(rather than SYSLOG.DAT) via the ACC /PRINT command.  Data is
 redirected back to SYSLOG.DAT by the ACC /NPRINT command.
