display cpu-usage configuration [ slave | slot slot-id ]
The slave parameter is not supported if the switch does not support the stacking function or does not have the stacking function enabled.
Parameter | Description | Value |
---|---|---|
slave |
Displays CPU usage configuration of standby switches in a stack. |
- |
slot slot-id |
Displays device CPU usage configuration of a specified slot ID. |
The value depends on the device configuration. |
This command displays the alarm threshold and recovery threshold.
When CPU usage reaches the alarm threshold, the system generates a CPU usage alarm.
When CPU usage falls within the recovery threshold, the system generates a clear alarm.
# Display CPU usage configuration.
<HUAWEI> display cpu-usage configuration The CPU usage monitor is turned on. The current monitor cycle is 60 seconds. The current monitor warning threshold is 95%. The current monitor restore threshold is 80%.
Item |
Description |
---|---|
The CPU usage monitor |
Whether the CPU usage monitoring function is enabled or disabled. To enable the CPU usage monitoring function, run the cpu-usage monitor command. |
The current monitor cycle |
CPU usage monitoring period, which cannot be configured. |
The current monitor warning threshold |
Alarm threshold. To set the CPU usage alarm threshold, run the cpu-usage threshold threshold-value [ restore restore-threshold-value ] [ slot slot-id ] command. |
The current monitor restore threshold |
Alarm recovery threshold. To set the CPU usage alarm recovery threshold, run the cpu-usage threshold threshold-value [ restore restore-threshold-value ] [ slot slot-id ] command. |