265
Process monitoring and maintenance
commands
The
display memory
,
display
process
,
display
process cpu
,
monitor process
and
monitor
thread
commands display information about both user processes and kernel threads. In these
commands, "process" refers to both user processes and kernel threads.
display exception context
Use
display exception context
to display context information for process exceptions.
Syntax
display
exception context
[
count
value
] [
slot
slot-number
[
cpu
cpu-number
]
]
Views
Any view
Predefined user roles
network-admin
Parameters
count
value
: Specifies the number of context information entries, in the range of 1 to 20. The default
value is 1.
slot
slot-number
: Specifies an IRF member device by its ID. If you do not specify this option, the IRF
master device is specified.
cpu
cpu-number
: Specifies a CPU by its number.
Usage guidelines
The system generates a context information entry for each core file. A context information entry
includes the process ID, the crash time, the core file directory, stack information, and register
information.
Examples
# Display exception context information on the device.
<Sysname> display exception context
Index 1 of 1
------------------------------
Crashed PID: 120 (routed)
Crash signal: SIGBUS
Crash time: Tue Apr 9 17:14:30 2013
Core file path:
flash:/core/node0_routed_120_7_20130409-171430_1365527670.core
#0 0xb7caba4a
#1 0x0804cb79
#2 0xb7cd77c4
#3 0x08049f45
Backtrace stopped.
Registers' content
eax:0xfffffffc ebx:0x00000003 ecx:0xbfe244ec edx:0x0000000a