[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference share::zap

Title:Zap Technical Conference
Notice:ZAP Version 5.3 is available. See note 1.1
Moderator:ZAPDEV::MACONI
Created:Mon Feb 24 1986
Last Modified:Mon May 05 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:170
Total number of notes:492

48.0. "VARYING TIMES WITHIN ZAP?" by BALBOA::ALTIERI (JOHN ALTIERI) Wed Mar 09 1988 19:05

    CAN YOU SPECIFY VARYING TIMES WITHIN ZAP TO LOG CERTAIN USERS OFF
    AFTER 30 MINUTES AND ANOTHER GROUP OF USERS TO BE KICKED OFF AFTER
    60 MINUTES. 
    IS THERE DOCUMENTATION THAT WOULD EXPLAIN THIS....THANKS
T.RTitleUserPersonal
Name
DateLines
48.1YesNRADM::MACONIThe DoctorMon Mar 14 1988 09:08103
    Yes.
    
    Each Uic/Image/Terminal combination has its own idle time limit
    which is specified in the initialization file.  The limit can vary
    between 1 and 999 minutes.  Also, 0 minutes (Zap when seen), and
    * (Do not Zap) can also be selected.
    
    Below is the V3.8 initialization file which documents these
    capabilities:
    ------------------------------------------------------------------
!
!  Zap exception file : Version 3.8
!
!  This file is used to initialize the parameters to the zap program.
!  It should be kept in the directory zap$dir:zap.dat.
!
!  Any lines which start with an exclamation point (!) are comments.  The
!  exclamation point must be the first character.  No blank lines are
!  allowed.
!
!  The sensitivity level which follows determines how much work each user
!  must perform each minute to qualify as doing work.  The formula used
!  to determine the total work units is
!  ( cpu_time in hundreths of sec ) + ( 2 * buffered_io ) + ( 3 * direct_io )
!
/sensitivity=5
!
!  The traceback command allows the system to bill all of the cpu time,
!  direct and buffered io of all of a jobs subprocesses to the main process,
!  which is then checked to see if the total of all processes is idle.
!
!  If the total of all processes is still considered idle, then the main
!  process is killed (and it's subprocesses are left to die by themselves).
!
/traceback=true
!
!  The debug command is used to display extremely detailed information
!  about what Zap is doing on the system.  This command should not be
!  normally enabled since it causes extremely large log files.
!
/debug=false
!
!  The send command is used to indicate to zap when the warning messages
!  should be sent to the terminal of an idle process.  Up to five different
!  warning messages can be sent.  These messages are in addition to the
!  standard logout message which occurs when the process is terminated.
!
!  The format for the send command is:
!
!      /send=<time_1>[,<time_2>][,<time_3>][,<time_4>][,<time_5>]
!
!  Use the ZAP.MSG file to format these messages.
!
/send=9,7,5,3,1
!
!  The inswap command is used to inform Zap on how to handle processes
!  which are swapped out at the time that they are scanned on the system.
!  If this switch is set to true, the default, then a swapped out process
!  will be forced to swap back in and the process will be checked for
!  idle time.  If this switch is set to false, then if a process is swapped
!  out at the time it is checked, then it is ignored for that pass.
!
/inswap=false
!
!  The format for each exception line is as follows:
!     Uic - Any valid uic specification with wildcards, ex. [1,4] or [*,*]
!     Image name - Any valid image name up to 39 characters.  Standard
!                  Vax/VMS filename wildcards are allowed.  Ex. aut%ori*
!     Terminal - Legal terminal specifiers are:
!                   all, batch, console, detach, dialup, lat,
!                   local, network, remote and virtual
!                A physical device may be specified by preceeding the
!                device name with an underscore.  For example:
!                   _TXC3: or _LTA3521:
!     Time limit - Integer time limits greater than zero or * for no limit
!                  or zero for immediate zap.
!     Messages - yes or message to send a two minute warning message and
!                a logout message, or no or nomessage to send no warning
!                logout messages.
!
!Uic		Image name	Terminal	Time limit	Messages
!
! Console device always immune
[*,*]		*		console		*		nomessage
!
! System remote
[001,004]	*		remote		15		message
!
! System services
[001,*]		*		all		*		nomessage
!
! Batch jobs
[*,*]		*		batch		*		nomessage
!
! Network jobs
[*,*]		*		network		*		nomessage
!
! Detached jobs
[*,*]		*		detach		*		nomessage
!
! Global for all other users
[*,*]		*		all		20		message