AUTOLOG
=======

	This subdirectory contains only one programs, AUTOLOG.

			AUTOLOG

AUTOLOG is a program used to logoff (time-out) terminal users who are idle.
An idle user is one who uses none of the following three system parameters:
CPU_TIME, BUFFERED_IO, and DIRECT_IO.  If all of these parameters remain
constant over a period of 5 minutes (IDLE_TIME), then the user's process is
logged out (DELPRC).  When a user is idle for 4 minutes (IDLE_TIME - 1), he
is giver a warning message.
	To make AUTOLOG work, it should be run as a DETACHed process from
SYSTARTUP.  The process also requires WORLD and OPER privledges. The command to
create it as a detached process is: 

	RUN/UIC=[1,4]/PRIV=(WORLD,OPER)/PROCESS_NAME=AUTOLOG AUTOLOG

	Provisions are made in the program to allow special users not to be
timed out.  These usernames are entered into a table at the beginning of the
source program.  We also do not timeout OPERATOR if one of the special
processes (CMS2P or CMS2S) are running on the system.  If it is not running,
he gets the axe.
	This program is the same as the one on the VAX U.S. Fall '82 DECUS
tape, except that it was modified to run under VMS V3.0. This version of the
program takes care of users who have attached themselves to subprocesses using
the SPAWN command. If a process has any active subprocesses, then the main 
process does not get the axe, even if it is idle. If a subprocess is idle for
IDLE-TIME minutes and it's parent process is a terminal process, then the 
subprocess gets the axe. Control is then sent to the parent process. This 
parent process then has IDLE-TIME minutes to become active, or it then also
gets the axe.
	For any further information, help, or to submit improvements/problems,
contact me:
		Steve Moores
		Aurora Software Developement Unit
		C.F.B Greenwood
		Greenwood, N.S., Canada,
		B0P 1N0

		(902) 765-3391 ext 864

