所选语种没有对应资源,请选择:

本站点使用Cookies,继续浏览表示您同意我们使用Cookies。Cookies和隐私政策>

提示

尊敬的用户,您的IE浏览器版本过低,为获取更好的浏览体验,请升级您的IE浏览器。

升级

CX916, CX916L, CX930 交换模块 V100R001 诊断命令参考 04

评分并提供意见反馈 :
华为采用机器翻译与人工审校相结合的方式将此文档翻译成不同语言,希望能帮助您更容易理解此文档的内容。 请注意:即使是最好的机器翻译,其准确度也不及专业翻译人员的水平。 华为对于翻译的准确性不承担任何责任,并建议您参考英文文档(已提供链接)。
pads diagnose cpu

pads diagnose cpu

命令功能

pads diagnose cpu命令用来查看设备是否存在CPU过载或突增事件。

命令格式

pads diagnose cpu [ slot slot-id ]

参数说明

参数 参数说明 取值
slot slot-id 指定单板槽位号。 -

视图

诊断视图

缺省级别

3:管理级

使用指南

当设备的CPU过载或存在异常突增事件时,会严重影响设备的性能,可以先通过pads diagnose cpu命令查看设备是否存在这种情况,如果存在,再执行pads diagnose cpu slot slot-id命令查看指定单板的详细CPU信息、TOP组件和线程的调用栈。

使用实例

# 查看设备是否存在CPU过载或突增事件。

<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] pads diagnose cpu
Diagnose report:
The board in slot 17 cpu diagnostic information :
-------------------------------------------------------------------------------
Current cpu information:
State          UseRate    UnOvloadLimit    OvloadLimit
Overload           84%              1%              4%
--------------------------------------------------------------------------------
IssueType  StartTime  EndTime     UseRate TopNThread                               TopNComponent                           
--------------------------------------------------------------------------------
Overload   2018-06-05 0000-00-00       8% ProcessID: 4, ProcessName: LM, ThreadID: ProcessID: 10001, ProcessName: PROTO1, C
            20:08:42   00:00:00            4077599600, ThreadName: SimulateCpu3, U ompCid: 0x80030438, CompName: SEM_Agent 
                                          seRate: 76%; ProcessID: 4, ProcessName:  UseRate: 0%; ProcessID: 10001, ProcessNa
                                          LM, ThreadID: 4100864880, ThreadName: Si me: PROTO1, CompCid: 0x80cf0439, CompNam
                                          mulateCpu1, UseRate: 76%; ProcessID: 4,  e: APPCFG, UseRate: 0%; ProcessID: 10001
                                          ProcessName: LM, ThreadID: 4077734768, T , ProcessName: PROTO1, CompCid: 0x806504
                                          hreadName: SimulateCpu2, UseRate: 72%    3a, CompName: SOCK, UseRate: 0%         
HOP        2018-06-05 2018-06-05      81% ProcessID: 4, ProcessName: LM, ThreadID: ProcessID: 1006, ProcessName: PROTO2, Co
            20:08:28   20:08:28            4077734768, ThreadName: SimulateCpu2, U mpCid: 0x80030416, CompName: SEM_Agent U
                                          seRate: 75%; ProcessID: 4, ProcessName:  seRate: 0%; ProcessID: 1006, ProcessName
                                          LM, ThreadID: 4100864880, ThreadName: Si : PROTO2, CompCid: 0x80cf0417, CompName:
                                          mulateCpu1, UseRate: 75%; ProcessID: 4,   APPCFG, UseRate: 0%; ProcessID: 1006, P
                                          ProcessName: LM, ThreadID: 4077599600, T rocessName: PROTO2, CompCid: 0x80240418,
                                          hreadName: SimulateCpu3, UseRate: 72%     CompName: LLA, UseRate: 0%             
HOP        2018-06-05 2018-06-05      66% ProcessID: 4, ProcessName: LM, ThreadID: ProcessID: 4, ProcessName: LM, CompCid: 
            20:08:18   20:08:18            4077734768, ThreadName: SimulateCpu2, U 0x80020011, CompName: SEM_LS17 UseRate: 
                                          seRate: 81%; ProcessID: 4, ProcessName:  0%; ProcessID: 4, ProcessName: LM, CompC
                                          LM, ThreadID: 4100864880, ThreadName: Si id: 0x8003000f, CompName: SEM_Agent15, U
                                          mulateCpu1, UseRate: 78%; ProcessID: 4,  seRate: 0%; ProcessID: 4, ProcessName: L
                                          ProcessName: LM, ThreadID: 4077599600, T M, CompCid: 0x80050013, CompName: SSPRPM
                                          hreadName: SimulateCpu3, UseRate: 76%    _LS19, UseRate: 0%                      
--------------------------------------------------------------------------------
The board in slot 18 cpu diagnostic information :
-------------------------------------------------------------------------------
Current cpu information:
State          UseRate    UnOvloadLimit    OvloadLimit
UnOverload         84%             75%             90%
--------------------------------------------------------------------------------
IssueType  StartTime  EndTime     UseRate TopNThread                               TopNComponent                           
--------------------------------------------------------------------------------
HOP        2018-06-05 2018-06-05      81% ProcessID: 1016, ProcessName: PROTO1, Th ProcessID: 1015, ProcessName: OPS, CompC
            20:08:29   20:08:29           readID: 4083694448, ThreadName: DefSch0b id: 0x80030475, CompName: SEM_Agent UseR
                                          02, UseRate: 0%; ProcessID: 1016, Proces ate: 0%; ProcessID: 1015, ProcessName: O
                                          sName: PROTO1, ThreadID: 4083829616, Thr PS, CompCid: 0x80cf0476, CompName: APPCF
                                          eadName: DefSch0b01, UseRate: 0%; Proces G, UseRate: 0%; ProcessID: 1015, Process
                                          sID: 1016, ProcessName: PROTO1, ThreadID Name: OPS, CompCid: 0x80c20477, CompName
                                          : 4083964784, ThreadName: DefSch0b00, Us : PYTHONVM, UseRate: 0%                 
                                          eRate: 0%                                                                        
HOP        2018-06-05 2018-06-05      65% ProcessID: 1016, ProcessName: PROTO1, Th ProcessID: 1011, ProcessName: PSM1, Comp
            20:08:19   20:08:19           readID: 4083694448, ThreadName: DefSch0b Cid: 0x8003044d, CompName: SEM_Agent Use
                                          02, UseRate: 0%; ProcessID: 1016, Proces Rate: 0%; ProcessID: 1011, ProcessName: 
                                          sName: PROTO1, ThreadID: 4083829616, Thr PSM1, CompCid: 0x80cf044e, CompName: APP
                                          eadName: DefSch0b01, UseRate: 0%; Proces CFG, UseRate: 0%; ProcessID: 1011, Proce
                                          sID: 1016, ProcessName: PROTO1, ThreadID ssName: PSM1, CompCid: 0x8024044f, CompN
                                          : 4083964784, ThreadName: DefSch0b00, Us ame: LLA, UseRate: 0%                   
                                          eRate: 0%                                                                        
--------------------------------------------------------------------------------

# 查看槽位号为17的单板的CPU过载和突增事件信息。

<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] pads diagnose cpu slot 17
Diagnose report:
The board in slot 17 cpu diagnostic information :
-------------------------------------------------------------------------------
Current cpu information:
State          UseRate    UnOvloadLimit    OvloadLimit
Overload           84%              1%              4%
--------------------------------------------------------------------------------
IssueType  StartTime  EndTime     UseRate TopNThread                               TopNComponent                           
--------------------------------------------------------------------------------
Overload   2018-06-05 0000-00-00       8% ProcessID: 4, ProcessName: LM, ThreadID: ProcessID: 10001, ProcessName: PROTO1, C
            20:08:42   00:00:00            4077599600, ThreadName: SimulateCpu3, U ompCid: 0x80030438, CompName: SEM_Agent 
                                          seRate: 76%; ProcessID: 4, ProcessName:  UseRate: 0%; ProcessID: 10001, ProcessNa
                                          LM, ThreadID: 4100864880, ThreadName: Si me: PROTO1, CompCid: 0x80cf0439, CompNam
                                          mulateCpu1, UseRate: 76%; ProcessID: 4,  e: APPCFG, UseRate: 0%; ProcessID: 10001
                                          ProcessName: LM, ThreadID: 4077734768, T , ProcessName: PROTO1, CompCid: 0x806504
                                          hreadName: SimulateCpu2, UseRate: 72%    3a, CompName: SOCK, UseRate: 0%         
HOP        2018-06-05 2018-06-05      81% ProcessID: 4, ProcessName: LM, ThreadID: ProcessID: 1006, ProcessName: PROTO2, Co
            20:08:28   20:08:28            4077734768, ThreadName: SimulateCpu2, U mpCid: 0x80030416, CompName: SEM_Agent U
                                          seRate: 75%; ProcessID: 4, ProcessName:  seRate: 0%; ProcessID: 1006, ProcessName
                                          LM, ThreadID: 4100864880, ThreadName: Si : PROTO2, CompCid: 0x80cf0417, CompName:
                                          mulateCpu1, UseRate: 75%; ProcessID: 4,   APPCFG, UseRate: 0%; ProcessID: 1006, P
                                          ProcessName: LM, ThreadID: 4077599600, T rocessName: PROTO2, CompCid: 0x80240418,
                                          hreadName: SimulateCpu3, UseRate: 72%     CompName: LLA, UseRate: 0%             
HOP        2018-06-05 2018-06-05      66% ProcessID: 4, ProcessName: LM, ThreadID: ProcessID: 4, ProcessName: LM, CompCid: 
            20:08:18   20:08:18            4077734768, ThreadName: SimulateCpu2, U 0x80020011, CompName: SEM_LS17 UseRate: 
                                          seRate: 81%; ProcessID: 4, ProcessName:  0%; ProcessID: 4, ProcessName: LM, CompC
                                          LM, ThreadID: 4100864880, ThreadName: Si id: 0x8003000f, CompName: SEM_Agent15, U
                                          mulateCpu1, UseRate: 78%; ProcessID: 4,  seRate: 0%; ProcessID: 4, ProcessName: L
                                          ProcessName: LM, ThreadID: 4077599600, T M, CompCid: 0x80050013, CompName: SSPRPM
                                          hreadName: SimulateCpu3, UseRate: 76%    _LS19, UseRate: 0%                      
--------------------------------------------------------------------------------
Location 1019 Thread 4085410672 (DefSch0100 68%) callStack:
#00 [0x23]
#01 compa.so(COMPA_ProcTimeOut)
#02 compa.so(COMPA_MsgProc)
#03 libdefault.so(RTF_MsgProcessCbk)
#04 libdefault.so(rtfScmMessageSchedule)
#05 libdefault.so(rtfScmCompScheKernelEntryFifo)
#06 libdefault.so(rtfScmCompSchTaskEntry)
#07 libdefault.so(rtfScmCompScheDefaultEntry)
#08 libdefault.so(rtfScmTaskDeployDefaultCompEntry)
#09 libdefault.so(tskAllTaskEntry)
#10 libpthread.so.0()
#11 libc.so.6(clone)
Location 1019 Thread 4085410672 (DefSch0100 68%) callStack:
#00 [0x23]
#01 compa.so(COMPA_ProcTimeOut)
#02 compa.so(COMPA_MsgProc)
#03 libdefault.so(RTF_MsgProcessCbk)
#04 libdefault.so(rtfScmMessageSchedule)
#05 libdefault.so(rtfScmCompScheKernelEntryFifo)
#06 libdefault.so(rtfScmCompSchTaskEntry)
#07 libdefault.so(rtfScmCompScheDefaultEntry)
#08 libdefault.so(rtfScmTaskDeployDefaultCompEntry)
#09 libdefault.so(tskAllTaskEntry)
#10 libpthread.so.0()
#11 libc.so.6(clone)
Location 10001 Comp 80cf0439 (APPCFG 0%) callStack:
#00 [0x23]
#01 libpthread.so.0()
#02 libc.so.6(clone)
Location 10001 Comp 80cf0439 (APPCFG 0%) callStack:
#00 [0x23]
#01 libpthread.so.0()
#02 libc.so.6(clone)
Location 10001 Comp 80cf0439 (APPCFG 0%) callStack:
#00 [0x23]
#01 libpthread.so.0()
#02 libc.so.6(clone)
表12-164 pads diagnose cpu命令输出信息描述
项目 描述

Diagnose report

诊断报告信息。

The board in slot 17 cpu diagnostic information

槽位号为17的单板的CPU诊断信息。

Current cpu information

指定单板的当前CPU信息。

State

当前CPU是否过载:
  • Overload:过载
  • UnOverload:未过载

UseRate

当前CPU使用率。

UnOvloadLimit

CPU去过载门限。

OvloadLimit

CPU过载门限。

IssueType

CPU异常事件:
  • HOP:CPU突增
  • Overload:CPU过载

StartTime

CPU异常事件发生的时间。

EndTime

CPU异常事件结束的时间。取值全0表示事件没有结束。

UseRate

事件发生时系统CPU使用率。

TopNThread

事件发生时CPU使用率前三的线程信息。

TopNComponent

事件发生时CPU使用率前三的组件信息。

Location 1019 Thread 4085410672 (DefSch0100 68%) callStack

线程调用栈信息。

翻译
下载文档
更新时间:2019-08-09

文档编号:EDOC1000178140

浏览量:5049

下载量:56

平均得分:
本文档适用于这些产品
相关版本
相关文档
Share
上一页 下一页