No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Troubleshooting Guide

CloudEngine 16800, 12800, 12800E, 8800, 7800, 6800, and 5800 Series Switches

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
How Can I Quickly Locate the Cause of High CPU Usage and Collect Relevant Information?

How Can I Quickly Locate the Cause of High CPU Usage and Collect Relevant Information?

When CPU usage of a device is high, you can perform the following steps to quickly locate the cause and collect information. Then you can report the information to technical support personnel.
  1. Run the display cpu command to view the services having high CPU usage.

    <HUAWEI> display cpu
    CPU utilization statistics at 2016-02-02 02:07:22 366 ms
    System CPU Using Percentage :   6%
    CPU utilization for five seconds: 6%, one minute: 6%, five minutes: 6%.
    Max CPU Usage :                38%
    Max CPU Usage Stat. Time : 2016-02-01 12:29:26 821 ms
    State: Non-overload
    Overload threshold:  90%, Overload clear threshold:  75%, Duration:     480s
    ---------------------------
    ServiceName  UseRate
    ---------------------------
    SYSTEM            6%
    AAA               0%
    ARP               0%
    CMF               0%
    ......
    
  2. Run the display system service service-name command in the diagnostic view to check the names of components having high CPU usage.

    <HUAWEI> system-view
    [~HUAWEI] diagnose
    [~HUAWEI-diagnose] display system service SYSTEM
    Service : SYSTEM
    --------------------------------------------------------------------------------
    Component               CID       CGID   Process   HaState  CpuUsage    MemUsage
    --------------------------------------------------------------------------------
    DFS              0x81DE271D  0x1DE271B     10003   PRIMARY        0%     4006312
    TELC             0x8091271F   0x91271D     10001   PRIMARY        0%       19000
    SSHC             0x80922720   0x92271E     10001   PRIMARY        0%       41208
    SSHS             0x80932723   0x932721     10001   PRIMARY        0%       48844
  3. Run the display system thread process process-id command in the diagnostic view repeatedly to check information about the processes having high CPU usage.

    <HUAWEI> system-view
    [~HUAWEI] diagnose
    [~HUAWEI-diagnose] display system thread process 10003
    Info: Operating, please wait for a moment......done.
    -------------------------------------------------------------------------------
    Process ID  Thread ID Thread Type            BindComp BindCpu BindFlag    Usage
    -------------------------------------------------------------------------------
         10003 1210525456 main thread            Bind     all     Free           0%
         10003 1227637888 DefSch0200             Free     all     Free           0%
         10003 1227506816 IPC0000                Free     all     Free           0%
         10003 1227768960 DefSch0300             Free     all     Free           0%
         10003 1237476480 DefSch0100             Free     all     Free           0%
         10003 1237607552 DefSch0101             Free     all     Free           0%
         10003 1226847360 DMS_PIPE_RECV_TASK     Free     all     Free           0%
         10003 1218028672 TICK                   Free     all     Free           0%
         10003 1226716288 DMS_TIPC_SEND          Free     all     Free           0%
         10003 1217766528 BOX_Out                Free     all     Free           0%
         10003 1217897600 VCLK                   Free     0       Free           0%
         10003 1237738624 CliGetThreadCpu        Free     all     Free           0%
    -------------------------------------------------------------------------------
    Total = 12
    
  4. Run the display system thread callstack process process-id thread-id command in the diagnostic view to check process call stack information.

    <HUAWEI> system-view
    [~HUAWEI] diagnose
    [~HUAWEI-diagnose] display system thread callstack process 10003 1210525456
    Thread 1210525456 (Thread MainThread):
    #00 libc.so.6(epoll_wait)
    #01 location(Frame_FdMainThread)
    #02 location(Frame_Main)
    #03 location(main)
    #04 libc.so.6()
    #05 libc.so.6()
    
Translation
Download
Updated: 2020-01-07

Document ID: EDOC1000060766

Views: 612089

Downloads: 2956

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Share
Previous Next