Service Manual

Table Of Contents
switch script limit
To control the script that is running based on CPU, memory, or disk IO usage, use the switch script limit.
S4810, S4820T, S3048–ON, S4048–ON, S5000, S6000, S6000–ON, Z9100–
ON, Z9500, and MXL
Syntax
switch script limit {cpu percentage mem percentage disk
percentage}
To return to the default value, use the no switch script limit command.
Parameters
cpu percentage
Enter the keyword cpu and the maximum percentage limit
for the script execution. The range is from 20 to 90 percent.
mem percentage
Enter the keyword mem and the maximum percentage limit
for the script execution. The range is from 20 to 90 percent.
disk
percentage
Enter the keyword disk and the maximum percentage limit
for the script execution. The range is from 20 to 90 percent.
Only /usr/pkg is monitored.
Defaults none
Command Modes CONFIGURATION
Command History
This guide is platform-specific. For command information about other platforms,
see the relevant Dell Networking OS Command Line Reference Guide.
The following is a list of the Dell Networking OS version history for this command.
Version Description
9.8(1.0P1) Introduced on the Z9100–ON.
9.8(0.0P5) Introduced on the S4048–ON.
9.8(0.0P2) Introduced on the S3048–ON.
9.7(0.0) Introduced on the S6000–ON.
9.6(0.0) Introduced on the S5000.
9.5(0.1) Introduced on the Z9500.
9.3(0.0) Introduced on the S6000.
9.2(0.0) Introduced on the S4810, S4820T, Z9000, and MXL switch.
Usage Information
When the system reaches any maximum percentage limit, all running scripts
suspend and additional scripts are not scheduled. Scripts begin running when any
of the resource limits reaches 10 percent less than the configured value. Details are
entered into syslog.
Smart Scripting CLI
113