[an error occurred while processing this directive][an error occurred while processing this directive]

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. Limits defined for individual processes override the limits defined for an entire package.

The statements are explained separately.

Usage Guidelines

See Configuring Resource Limits.

Required Privilege Level

admin—To view this statement in the configuration.

admin-control—To add this statement to the configuration.


Published: 2010-05-09

[an error occurred while processing this directive]