Previous Topic: TYPESFILTER Statement—Specify the Notification Types to Subscribe toNext Topic: URL Statement—Specify the URL of the JMX Server


ULIMIT Statement—Specify UNIX Resource Limits

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)]
TYPE(C|D|F|M|N|S|T)

Specifies the resource type. Options are the following:

SOFT(soft_value)

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

HARD(hard_value)

(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: