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.
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.
The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display cpu-monitor information all Cpu overload information -------------------------------------------------------------------- Slot Time State -------------------------------------------------------------------- 1 0000-00-00 00:00:00 Unoverload --------------------------------------------------------------------
<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% --------------------------------------------------------------------
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:
|
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. |