Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

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 OS Release 9.6.

Description

Set resource limits for applications using the command-line interface (CLI). You can set limits for all applications listed in the 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.

Required Privilege Level

admin—To view this statement in the configuration.

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

Published: 2013-08-16

Published: 2013-08-16