The WAITMODE statement specifies whether the job waits until the monitor conditions are met or tries to verify them immediately.
Supported Job Types
This statement is optional for the following job types:
Syntax
This statement has the following format:
WAITMODE NOW|WAIT
Checks for the conditions immediately. If the conditions are met, the job completes successfully. If the conditions are not met, the job fails.
Waits for the conditions to occur. When the conditions are met, the job completes.
Notes:
Example: Monitor CPU Usage Until It Falls in a Range
This example monitors CPU usage. The job completes when at least 20 percent and at most 90 percent of the CPU is being used.
AGENT MONAGT CPU FROM(020) TO(090) USED WAITMODE WAIT
Example: Monitor Disk Space Usage Until It Falls in a Range
This example monitors disk space usage. The job completes when at least 60 percent of disk space is available on the C drive.
AGENT MONAGT DISK C FORMAT(PERCENT) FROM(60) TO(100) AVAILABLE WAITMODE WAIT
|
Copyright © 2013 CA Technologies.
All rights reserved.
|
|