resource-limits

Syntax

resource-limits {package package-name {resources {cpu {priority number;time seconds;}file {core-size bytes;open number;size bytes;}memory {data-size bytes;locked-in bytes;resident-set-size bytes;socket-buffers bytes;stack-size bytes;}}}process process-ui-name {resources {cpu {priority number;time seconds;}file {core-size bytes;open number;size bytes;}memory {data-size bytes;locked-in bytes;resident-set-size bytes;socket-buffers bytes;stack-size bytes;}}}}

Hierarchy Level

[edit system extensions]

Release Information

Statement introduced in JUNOS Release 9.6.

Description

Set resource limits for JUNOS SDK applications using the command-line interface (CLI). You can set limits for all SDK applications listed in the SDK application package’s manifest file or define limits for individual processes in the package.

Options

package package-name

Name of the JUNOS SDK application package.

process process-ui-name

Name of the process.

The remainder of the statements are explained separately.

Usage Guidelines

See Configuring Resource Limits.

Required Privilege Level

admin—To view this statement in the configuration.

admin—To view this statement in the configuration.

Related Topics

resources