display cpu-monitor information

Function

The display cpu-monitor information command displays the CPU overload status of boards, CPU usage when the overload occurs, and callstack information about the three threads that consume the most CPU resources.

Format

display cpu-monitor information { slot slot-id | all }

Parameters

Parameter Description Value
slot slot-id

Specifies the slot ID of a board whose CPU overloading status is displayed.

-

all

Displays the CPU overloading status of all boards.

-

Views

User view, System view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
diagnose debug

Usage Guidelines

When CPU usage is high, run this command to check whether the CPU is overloaded, CPU usage when the overload occurs, and callstack information about the three threads that consume the most CPU resources. If the CPU is overloaded, the administrator can take action to reduce CPU usage and ensure that the device is running properly.

The display cpu-usage command can be used to display CPU usage.

In VS mode, this command is supported only by the admin VS.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display the CPU overloading status of all boards on a device.
<HUAWEI> display cpu-monitor information all
Cpu overload information                                                        
--------------------------------------------------------------------            
Slot       Time                     State                                       
--------------------------------------------------------------------            
1          0000-00-00 00:00:00      Unoverload                                
--------------------------------------------------------------------
# Display the CPU overloading status on a specified board of a device.
<HUAWEI> display cpu-monitor information slot 1
Cpu overload information
--------------------------------------------------------------------
Slot       Time                     State                           
--------------------------------------------------------------------
1          2020-02-22 11:30:08      Overload                         
--------------------------------------------------------------------
CPU Overload history:
slot : 1          
System CPU use rate is :                95%
OverloadTime : 2020-02-22 11:30:08      
--------------------------------------------------------------------
ServiceName  UseRate   
--------------------------------------------------------------------
SYSTEM           95%
DHCP              0%
IP STACK          0%
ND                0%
ARP               0%
FEC               0%
CMF               0%
DEVICE            0%
LOCAL PKT         0%
FEA               0%
LINK              0%
--------------------------------------------------------------------
Table 1 Description of the display cpu-monitor information command output
Item Description
Slot

Slot ID.

Time

Date and time when the CPU was overloaded or not overloaded. The default value is 0000-00-00 00:00:00.

State

CPU overloading status:

  • Unoverload.
  • Overload.
CPU Overload history

Historical information about CPU overloading status.

System CPU use rate is

CPU usage when the overload occurs.

OverloadTime

Date and time when the CPU was overloaded.

ServiceName

Service name.

UseRate

CPU usage in each service.

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