< Home

display cpu-usage configuration

Function

The display cpu-usage configuration command displays CPU usage configuration.

Format

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.

Parameters

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.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

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.

Example

# 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%. 
Table 1 Description of the display cpu-usage configuration command output

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.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >