< Home

cpu-usage monitor

Function

The cpu-usage monitor command enables the CPU usage monitoring.

The undo cpu-usage monitor command disables the monitoring function.

By default, the CPU usage monitoring is enabled.

Format

cpu-usage monitor [ { slot slot-id } | slave ]

undo cpu-usage monitor [ { slot slot-id } | slave ]

Devices that do not support the stack function or do not have the stack function enabled do not support the slave parameter.

Parameters

Parameter Description Value
slot slot-id

Specifies a slot ID.

The value depends on the device configuration.

slave

Indicates information about the CPU usage of the slave device. This Parameter is invalid.

-

Views

System view

Default Level

3: Management level

Usage Guidelines

If you want to check the status and performance of the device, run the cpu-usage monitor command to enable the CPU usage monitoring, and then run the display cpu-usage command to check information about the CPU usage.

Example

# Enable the CPU usage monitoring.

<HUAWEI> system-view
[HUAWEI] cpu-usage monitor
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >