The ULIMIT statement modifies resource limits on the agent computer for the duration of the job. For example, you can define a job that modifies the maximum core file size and CPU times on the UNIX computer.
Supported Job Type
This statement is optional for the UNIX job type.
Syntax
This statement has the following format:
ULIMIT TYPE(C|D|F|M|N|S|T) SOFT(soft_value) [HARD(hard_value)]
Specifies the resource type. Options are the following:
Defines the usage (soft) limit for the specified resource type. The soft limit can be increased up to the specified hard limit and can be changed without root authority.
Limits: Any numeric digits or you can specify unlimited; the value must be less than or equal to the hard limit
(Optional) Defines the maximum usage (hard) limit for the specified resource type. The hard limit can only be increased by the root user. Any user ID can decrease a hard limit.
Limits: Any numeric digits or you can specify unlimited; the value must be greater than or equal to the soft limit
Default: soft limit value
Note: If the job runs under a non-root user ID and the value specified in the job definition is greater than the current hard limit on the UNIX system, the hard limit will not be increased.
Notes:
Example: Specify Multiple Resource Limits
This example runs the procrun.sh script on the UNIXAGT agent. The job modifies the following resource limits on the UNIX computer:
AGENT UNIXAGT SCRIPTNAME /ul/procrun.sh ULIMIT TYPE(C) SOFT(100) HARD(200) ULIMIT TYPE(S) SOFT(250) HARD(300) ULIMIT TYPE(T) SOFT(1000) HARD(4000) ULIMIT TYPE(M) SOFT(3332) HARD(unlimited)
|
Copyright © 2013 CA Technologies.
All rights reserved.
|
|