JOBMONITOR

<< Click to Display Table of Contents >>

Navigation:  TCC > Commands >

JOBMONITOR

Purpose:Monitor Windows job activity

 

Format:JOBMONITOR [/C [jobname]]

JOBMONITOR [/=] jobname [* TIME PROCESS MEMORY] n command

 

jobname - The Windows job to monitor

 

* - Monitor all activity for the job

 

TIME - Monitor the end of job and process time notifications

 

PROCESS - Monitor the process notifications (process limit, new process, zero processes, end of process, abnormal process exit)

 

MEMORY - Monitor the job and process memory limit notifications

 

/C(lear)

 

See also JOBS.

 

Usage:

 

JOBMONITOR will set four environment variables when a condition is triggered:

 

_jobaction - The type of notification, which will be one of these values:

 

EndOfJobTime

EndOfProcessTime

ActiveProcessLimit

ActiveProcessZero

NewProcess

ExitProcess

AbnormalExitProcess

ProcessMemoryLimit

JobMemoryLimit

 

_jobpid - The process PID

 

_jobprocessname - The name of the process

 

_jobtime - The time (hh:mm:ss.ms) the notification was received

 

 

Option:

 

/=Display the INKEY command dialog to help you set the command line options. The /= option can be anywhere on the line; additional options will set the appropriate fields in the command dialog.

 

/CDelete the job monitor(s)