The set cpu-usage threshold command sets the overload threshold and alarm recovery threshold of CPU usage.
By default, the overload threshold value of CPU usage is 90, and the alarm recovery threshold of CPU usage is 75.
Parameter | Description | Value |
---|---|---|
threshold threshold |
Sets the overload threshold value of CPU usage. Overload threshold of CPU usage = threshold-value/100. |
The value is an integer ranging from 4 to 100. The default value is 90. The default value is recommended. |
restore restore-threshold-value |
Sets the alarm recovery threshold of CPU usage. Alarm recovery threshold of CPU usage = restore-threshold-value/100. |
The value is an integer ranging from 1 to threshold-value minus 3. The default value is 75. The default value is recommended. |
interval interval-value |
Specifies a detection period. |
The value is an integer ranging from 1 to 60, in minutes. The default value is 8 and is recommended. |
slot slot-id |
Specifies the slot ID of an interface board. |
- |
Usage Scenario
A CPU usage threshold is set as required, which helps monitor CPU usage in time.
Configuration Impact
When the CPU usage reaches the overload threshold, the system triggers the SYSTEM_1.3.6.1.4.1.2011.5.25.129.2.4.1 hwCPUUtilizationRisingAlarm alarm.
When the CPU usage decreases to the non-overload threshold, the system triggers the SYSTEM_1.3.6.1.4.1.2011.5.25.129.2.4.2 hwCPUUtilizationResume alarm.
Run
set cpu-usage threshold interval command specifies a detection period, the sampling interval is 10s.
Precautions
This command is supported only on the admin VS.