Google
 

Trailing-Edge - PDP-10 Archives - decuslib10-03 - 43,50314/spirit.man
There are no other files named spirit.man in the archive.
FUNCTIONS OF SPIRIT



	1)	ONCE EVERY MINUTE SPIRIT OUTPUTS A JOB STATUS REPORT
		TO QUE:SPIRIT.WHO.

	2)	ONCE EVERY 15 MINUTES SPIRIT APPENDS A SYSTEM PERFORMANCE
		REPORT TO QUE:SPIRIT.WHT.

	3)	ONCE EVERY MINUTE SPIRIT CHECKS THE SYSTEM FOR JOBS THAT
		HAVE BEEN IDLE.  IF A JOB HAS NOT ACCUMULATED ANY RUN TIME
		FOR 10-45 MINUTES (DEPENDING ON SYSTEM RESPONSE), SPIRIT
		WILL WARN THIS JOB WITH A SEND, THEN 5 MINUTES LATER
		WILL ATTEMPT TO LOG THIS JOB OFF.

	4)	ONCE EVERY MINUTE SPIRIT CHECKS THE STRUCTURES MOUNTED ON THE
		SYSTEM.  IF A STRUCTURE FALLS BELOW 3000 BLOCKS OF FREE SPACE,
		A SEND TO THE OPR IS DONE.  IF A STRUCTURE FALLS BELOW 1000
		BLOCKS OF FREE SPACE, A SEND TO ALL USERS IS DONE.

	5)	SPIRIT CAN ALSO PERFORM CERTAIN DAILY FUNCTIONS THAT THE
		OPERATOR MIGHT OTHERWISE NEED TO DO.  ONCE A MINUTE SPIRIT
		CHECKS THE FILE SYS:TIMES.SYS.  IF THERE IS SOMETHING TO BE
		DONE, SPIRIT LOGS IN AN OPR JOB AND SENDS COMMANDS TO THIS
		JOB.  A SELF DELETING LOG FILE OF 100 BLOCKS IS MAINTAINED
		IN QUE:TIMES.LOG.



	NOTE:	THESE FUNCTIONS CAN BE DISABLED BY SETTING THE APPROPRIATE
		FEATURE TEST SWITCHES IN OPR.MAC.  THESE FEATURE TEST
		SWITCHES ARE: SPTWHO, SPTWHT, SPTKJO, SPTDSK, SPTTIM, AND
		SPTTLG RESPECTIVELY.
FORMAT OF SYS:TIMES.SYS



	  THERE ARE THREE FIELDS IN EACH LINE OF THE FILE.  THE
	FIRST FIELD IS THE TIME FIELD.  THIS FIELD IS FLAGGED BY A NUMERAL.
	THE FIELD CONSISTS OF FOUR DIGITS INDICATING THE TIME OF DAY THAT
	THE COMMANDS FOLLOWING ARE TO BE EXECUTED.  THE SECOND FIELD IS
	THE CONDITION FIELD.  THIS FIELD IS FLAGGED BY A LETTER.  THE FIELD
	CONSISTS OF A CONDITION NEUMONIC.  THE REST OF THE LINE IS IGNORED
	IF THIS CONDITION IS NOT MET.  THE THIRD FIELD IS THE COMMAND 
	FIELD.  THIS FIELD IS FLAGGED BY EITHER AN * OR AN @.  IF THE
	COMAND IS HEADED BY AN *, THE REST OF THE LINE IS SENT TO THE
	JOB SPIRIT HAS LOGGED IN.  IF THE COMMAND IS HEADED BY AN @, THE
	COMMAD IS DELIMITED BY THE FIRST PRINTING CHARACTER FOLLOWING
	THE @.  THE LINE OR LINES DELIMITED BY THESE CHARACTERS ARE SENT
	TO THE JOB.

	  THESE FIELDS ARE SEPERATED BY BLANKS OR TABS.  ALSO, ANY LINE
	THAT STARTS WITH A ; WILL BE IGNORED.


	THE CONDITION NEUMONICS ARE:

		WEEKDAY		ONLY ON MONDAY THRU FRIDAY
		NOTSUNDAY	NOT ON SUNDAY
		OPR		ONLY IF THERE IS AN OPERATOR ON DUTY
		SATURDAY	ONLY ON SATURDAY
		SUNDAY		ONLY ON SUNDAY
		WEEKEND		ONLY ON SATURDAY OR SUNDAY
		THURSDAY	ONLY ON THURSDAY
		NEVER		NEVER
		ALWAYS		ALWAYS
		SPECIAL		ALWAYS (USED TO FLAG SPECIAL ENTRIES)
		DATE:DD-MMM-YY	ON DATE OR DATES SPECIFIED.  A LIST
				SEPERATED BY COMMAS OR A BLOCK WITH
				A COLON BETWEEN TWO DATES IS ACCEPTABLE
		NOLOGIN		NO LOGIN NECESSARY
		MONDAY		ONLY ON MONDAY
EXAMPLE OF QUE:SPIRIT.WHO



1 12:24:50 JIRMANUS 1251,762 TTY21 OMEGA TO 5+5 0:07:57 
2 13:04:46 WIZARD 1001,50 TTY17 TECO TI 2+3 0:00:10 
4 13:30:15 FINDAKLY 3121,1121 TTY22 EDITS TI 2+6 0:00:11 
31 13:45:41 OPR 1,2 PTY6 OPRMNT SL SW 3+5 0:00:41 
32 13:45:41 OPR 1,2 PTY5 BATCON HB SW 3+4 0:00:06 
33 13:45:41 OPR 1,2 PTY2 LPTSPL HB SW 2+4 0:08:44 
36 13:45:41 OPR 1,2 DET SPIRIT RN 2+4 0:10:11 HPQ1 
37 13:45:41 OPR 1,2 DET DAEMON SL 6+SPY 0:00:26 
38 13:45:41 OPR 1,2 PTY0 DIRECT ^C SW 3+7 0:00:03 
39 13:45:41 OPR 1,2 CTY OPSER SL 1+3 0:13:06 
40 13:45:41 OPR 1,2 TTY0 OPR ^C SW 2+4 0:01:55 HPQ1 
EXAMPLE OF QUE:SPIRIT.WHT



DATE       TIME      PERIOD    NULL IDLE LOST OVRHD RESPONSE WARN STRUCTURES

13-MAY-74  0:12:24   0:15:36   52%  49%  3%   9%    0.01     44   9428  3700
13-MAY-74  0:27:42   0:15:18   72%  70%  2%   8%    0.00     45   9434  3690
13-MAY-74  0:43:03   0:15:20   81%  78%  3%   8%    0.00     45   9503  3675
13-MAY-74  0:58:31   0:15:28   59%  55%  4%   10%   0.01     44   9542  3540
13-MAY-74  1:13:54   0:15:22   67%  60%  7%   9%    0.10     34   9422  3975
13-MAY-74  1:29:10   0:15:16   86%  85%  1%   7%    0.00     45   9371  3975
13-MAY-74  1:44:30   0:15:20   82%  80%  2%   7%    0.00     45   9341  3990
13-MAY-74  1:59:53   0:15:23   78%  75%  3%   8%    0.01     44   9374  3990
13-MAY-74  2:15:14   0:15:20   82%  75%  7%   8%    0.04     41   9344  3990
13-MAY-74  2:30:35   0:15:20   87%  83%  4%   7%    0.01     44   9314  3990
13-MAY-74  2:45:58   0:15:22   84%  77%  7%   8%    0.02     43   9236  3990
13-MAY-74  3:01:17   0:15:19   82%  80%  2%   7%    0.00     45   9158  3990
13-MAY-74  3:16:41   0:15:23   80%  77%  3%   8%    0.01     44   9143  3990
EXAMPLE OF SYS:TIMES.SYS



0000		*SET CORMAX 45
		*SEND OPR CORMAX NOW SET AT 45K
		*COPY SPIR.DAT[10,2]=SPIRIT.WHT[3,3]
		*DEL SPIRIT.WHT[3,3]
		*DEL DRESP.LOG[10,2]
		*SUBMIT [10,2]=DRESP.CTL /RESTART:1/OUTPUT:0
0215	THURSD	*SEND ALL RESPONSE WILL NOSE DIVE IN 15 MINS
0230	THURSD	*AS DSKA STR
	THURSD	*R DSKRAT
	THURSD	*R DSKLST
	THURSD	*DSKA,LIBR:/U/V/S/B/E/P
	THURSD	*R SYSERR
	THURSD	*DSK:SYSERR.LPT_DSK:ERROR.SYS[1,4]/CPUALL/CHNALL/DSKALL
	THURSD	@/^C/
	THURSD	*DEL SYS:ERROR.SYS
	THURSD	*PRINT LDS=/DIS:REN/AFTER:1030 *.LPT
	THURSD	*SUBMIT [10,2]=TUCC.CTL/RESTART:1/OUTPUT:0
0330		*PROTECT GAM:CHESS.SAV<156>
0500		*SEND OPR THE [1,2] AREA WILL BE DELETED IN 30 MINUTES.
0530		*DEL *.* [1,2]
0700	WEEKDA	*SET CORMAX 30
	WEEKDA	*SEND OPR CORMAX NOW SET AT 30K
		*PROTECT GAM:CHESS.SAV<157>
0800	OPR	*SYSTAT/L
	OPR	*PRINT *
0900	SUNDAY	*DEL PPNLST.LOG[10,4]
	SUNDAY	*SUBMIT [10,4]=PPNLST.CTL[10,4]/TIME:020000/PAGE/OUTPUT:0
1000	OPR	*SYSTAT/L
	OPR	*PRINT *
1030	SATURD	*SET CORMAX 30
	SATURD	*SEND OPR CORMAX NOW SET AT 30K
	SUNDAY	*SEND OPR *** DELIVER PPN LISTINGS TO LDS ***
	OPR	*PRINT LDS=*.CMP[3,3]/DIS:REN/HEAD:0
	OPR	*SEND OPR DELIVER MISC. LPT STUFF TO LDS, FILE THE SYSTAT
	THURSD	*SEND OPR FILE THE HARDWARE DIAGNOSTICS IN FOLDER PLEASE
1200	OPR	*SYSTAT/L
	OPR	*PRINT *
1400	OPR	*SYSTAT/L
	OPR	*PRINT *
1500	WEEKDA	*SET CORMAX 20
	WEEKDA	*SEND OPR CORMAX NOW SET AT 20K
1600	OPR	*SYSTAT/L
	OPR	*PRINT *
1730	SATURD	*SET CORMAX 45
	SATURD	*SEND OPR CORMAX NOW SET AT 45K
1800	OPR	*SYSTAT/L
	OPR	*PRINT *
2000	OPR	*SYSTAT/L
	OPR	*PRINT *
2200	OPR	*SYSTAT/L
	OPR	*PRINT *
EXAMPLE OF QUE:TIMES.LOG



*************************  11-MAY-74  0:07:00  ************************

PROTECT TUCC:CHESS.SAV<177>[5,4]
[7:00:51]
Files renamed:
CHESS.SAV 

.
*************************  11-MAY-74  0:09:00  ************************

RUN TUCC:SETBAT[10,2]
[9:00:06]

BATMAX: 3
** DONE **
.
*************************  11-MAY-74  0:10:30  ************************

SET CORMAX 30

.SEND OPR CORMAX NOW SET AT 30K

.PRINT LDS=DSKA:EXPAND.SYS[3,3]/HEAD:0,DSKA:*.CMP[3,3]/DIS:REN/HEAD:0
[10:30:39]
%WLDNSF No such files as DSKA:*.CMP[3,3]
Total of 40 blocks in 1 file in LPT request

.MAGTPE DSK=/LIST
[10:30:41]

.R SORT
[10:30:46]


*MAGTPE.LST/KUXD72.1,UNA1.6/R94=MAGTPE.LST

SORT COMPLETED: RUN TIME 7 SECONDS
311 RECORDS SORTED
SORTED 311 RECORDS

*^C
.R MAIL
[10:31:31]

MAIL 4(13)   FOR HELP TYPE HELP <RET>.
*LIST/LPT
*EXIT

.PRINT MAGTPE.LST,MAIL.LST
[10:31:50]
Total of 50 blocks in 2 files in LPT request

.