NE20E-S2 V800R022C00SPC600 Diagnose
OPS Diagnostic Commands
debugging ops diagnostic-information dump
Function
The debugging ops diagnostic-information dump command debugs OPS and outputs debugging information.
Parameters
Parameter | Description | Value |
---|---|---|
dumpFileName |
Specifies the name of a file. |
The value is a string of 1 to 255 characters. |
display ops blackbox
Function
The display ops blackbox command displays exception information about the third-party process running the python script.
Usage Guidelines
If a third-party process running the python script encounters an exception, run the display ops blackbox command to check information about the exception. The command output facilitates troubleshooting.
Example
The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> system-view [~HUAWEI] diagnose [~HUAWEI-diagnose] display ops blackbox ================= Exception info [1] ================= [Exception stack] 161117-03:18:54.450582 [PVME][L:17433][MemErr] Memory head damage free addr error 0x813c4c0, file name b.c, file line 123 161117-03:18:54.453806 [PVME][L:17433]01 : vrpv8/lib/libpythonlib.so(PVM_LogCallStack+0x2d) 161117-03:18:54.453818 [PVME][L:17433]02 : vrpv8/lib/libpythonlib.so(PVM_ProcMemHeadDamage+0x5b) 161117-03:18:54.453823 [PVME][L:17433]03 : vrpv8/lib/libpythonlib.so(PVM_Free_F+0xd8) 161117-03:18:54.453827 [PVME][L:17433]04 : ./location(_start+0) 161117-03:18:54.453831 [PVME][L:17433]05 : [0x813c4d8] [Exception memory] 161117-03:18:54.453837 [PVME][L:17433][MemErr] dump memory start 0x813c4c0, dump len 24. 0x813c4c0: b771b410 b771b410 08362ef0 007b007b 0x813c4d0: 00000040 5432fc00 161117-03:18:54.454034 [PVME][L:17433][MemErr] Has find the pre memory, meory head info: 161117-03:18:54.456816 [PVME][L:17433][MemErr] Memory addr 0x80ee680, headMagic 0x45873419, Alloc file NULL, Alloc line 2143,free file NULL, free line 0, size 23, useflag 69, flag 252, tailMagic 0x00005432 161117-03:18:54.456830 [PVME][L:17433][MemErr] May be pre memory size error 23 161117-03:18:54.456835 [PVME][L:17433][MemErr] dump memory start 0x80ee680, dump len 256. 0x80ee680: 45873419 b73ad1c4 00000000 0000085f 0x80ee690: 00000017 5432fc45 00000000 00090006 0x80ee6a0: 6973765f 64410064 2d6e696d 78005356 0x80ee700: 00037d00 6a00027c 04640002 00018300 0x80ee710: 7800047d 037400a9 00ea7200 6a00007c 0x80ee720: 00830004 00057d00 7300057c 6e50005e 0x80ee730: 037c0000 00056a00 8300057c 067d0001
display ops mtp process information
Function
The display ops mtp process information command displays thread information about the OPS MTP function.
Usage Guidelines
When the OPS MTP function encounters an error, run the display ops mtp process information command to check thread information about the OPS MTP function. The command output helps you locate faults.
Example
The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> system-view [~HUAWEI] diagnose [~HUAWEI-diagnose] display ops mtp process information ----------------------------------------------------------------------------------------- ThreadId ScriptName Creat Time ----------------------------------------------------------------------------------------- 1 mtp_process.py 2016-3-22 3:23:41 -----------------------------------------------------------------------------------------