display cpu-usage history

Function

The display cpu-usage history command displays CPU usage statistics within a period.

Format

display cpu-usage history [ 1hour | 24hour | 72hour ] [ slot slot-id ]

Parameters

Parameter Description Value
1hour

Displays CPU usage statistics within the last one hour.

-

24hour

Displays CPU usage statistics within the last 24 hours.

-

72hour

Displays CPU usage statistics within the last 72 hours.

-

slot slot-id

Displays historical CPU usage statistics about the specified interface board.

If slot-id is not specified, the CPU usage of the main control board is displayed by default.

-

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
diagnose read

Usage Guidelines

Usage Scenario

The system collects CPU usage statistics at a specified interval (usually 60s) and saves them in the historical record table. To check CPU usage statistics within a period, run the display cpu-usage history command, and the command output helps you determine whether the CPU is working properly.

In the display cpu-usage history command output, the x-coordinate indicates the specified period, and the y-coordinate indicates the CPU usage. In the command output, the time axis is displayed from far to near. The closer the time axis is to the vertical coordinate, the more updated the CPU usage data is.

Precautions

This command is supported only on the admin VS.

If CPU usage is constantly higher than the upper alarm threshold before the feature is deployed on a large scale, check the device to troubleshoot the fault.

Example

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

# Display CPU usage statistics within the last one hour.
<HUAWEI> display cpu-usage history 1hour
100%|                                                                           
 95%|                                                                           
 90%|                                                                           
 85%|                                                                           
 80%|                                                                           
 75%|                                                                           
 70%|                                                                           
 65%|                                                                           
 60%|                                                                           
 55%|                                                                           
 50%|                                                                           
 45%|                                                                           
 40%|                                                                           
 35%|                                                                           
 30%|                                                                           
 25%|                                                                           
 20%|HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH               
 15%|HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH               
 10%|HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH               
  5%|HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH               
     ---------+---------+---------+---------+---------+---------+>              
              10        20        30        40        50        60              
              System cpu-usage last 60 minutes(Per Min)
# Display CPU usage statistics within the last 24 hours.
<HUAWEI> display cpu-usage history 24hour
100%|                                                                           
 95%|                                                                           
 90%|                                                                           
 85%|                                                                           
 80%|                                                                           
 75%|                                                                           
 70%|                                                                           
 65%|                                                                           
 60%|                                                                           
 55%|                                                                           
 50%|*                                                                          
 45%|*                                                                          
 40%|*                                                                          
 35%|H                                                                          
 30%|H*                                                                         
 25%|H*          *                                                              
 20%|HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH                           
 15%|HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH                           
 10%|HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH                           
  5%|HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH                            
     ---------+---------+---------+---------+-------->                          
              10        20        30        40                                  
       System cpu-usage last 24 hours(Per Halfhour)                             
      * = maximum cpu-usage    H = average cpu-usage
# Display CPU usage statistics within the last 72 hours.
<HUAWEI> display cpu-usage history 72hour
100%|                                                                           
 95%|                                                                           
 90%|                                                                           
 85%|                                                                           
 80%|                                                                           
 75%|                                                                           
 70%|                                                                           
 65%|                                                                           
 60%|                                                                           
 55%|                                                                           
 50%|*                                                                          
 45%|*                                                                          
 40%|*                                                                          
 35%|*                                                                          
 30%|H                                                                          
 25%|H     *                                                                    
 20%|HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH   
 15%|HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH   
 10%|HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH
  5%|HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH                                                             
     ---------+---------+---------+---------+---------+---------+---------+-->  
              10        20        30        40        50        60        70    
                   System cpu-usage last 72 hours(Per Hour)                     
                  * = maximum cpu-usage    H = average cpu-usage
Table 1 Description of the display cpu-usage history command output
Item Description
System cpu-usage last 60 minutes(Per Min)

CPU usage statistics within the last one hour, with a step of one minute.

System cpu-usage last 24 hours(Per Halfhour)

CPU usage statistics within the last 24 hours, with a step of half an hour.

System cpu-usage last 72 hours(Per Hour)

CPU usage statistics within the last 72 hours, with a step of one hour.

* = maximum cpu-usage

Maximum CPU usage.

H = average cpu-usage

Average CPU usage.

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