You can define a UNIX job to check if one or more UNIX file systems have the required amount of available space. At run time, the agent checks whether the required space is available on the agent computer. If all of the requirements are met, the job starts. If any of the requirements are not met, the job fails.
By default, UNIX jobs do not check the available file space.
To verify file space before a UNIX job starts, specify the FILESYSTEM statement in the job definition. To check the available space on multiple file systems, define a separate FILESYSTEM statement for each file system.
Example: Verify Available File Space to Start a Job on UNIX
This example checks whether the file system named roots has 100 KB of available space. This example also checks whether the file system named auxfs1 has 120 KB of available space. The specified file space must be available before the job can start.
AGENT UNIXAGENT SCRIPTNAME /u1/procrun.sh FILESYSTEM /roots SIZE(100) FILESYSTEM /auxfsl SIZE(120)
|
Copyright © 2013 CA Technologies.
All rights reserved.
|
|