resources

Syntax

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 resource-limits package package-name],[edit system extensions resource-limits process process-ui-name]

Release Information

Statement introduced in Junos OS Release 9.6.

Description

Set resource limits for Junos SDK applications.

Options

bytes—Maximum size of each file, in kilobytes (KB) or megabytes (MB).

Syntax: Where x is some number, use xk to specify KB or xm to specify MB.

cpu—CPU resources.

file—File system resources.

memory—Memory resources.

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.

Related Topics