339
slot
slot-number
: Specifies an MPU by its slot number. If you do not specify this option, the
command displays context information for process exceptions on the active MPU. (Distributed
devices in standalone mode.)
slot
slot-number
: Specifies an IRF member device by its ID. If you do not specify this option, the
command displays context information for process exceptions on the IRF master device.
(Centralized devices in IRF mode.)
chassis chassis-number slot
slot-number
: Specifies an MPU on an IRF member device. If you do
not specify this option, the command displays context information for process exceptions on the
global active MPU. (Distributed devices in IRF mode.)
cpu
cpu-number
: Specifies a CPU by its number. (Centralized devices in IRF mode/distributed
devices in IRF or standalone mode.)
Usage guidelines
The system generates a context information entry for each process exception. A context information
entry includes the process ID, the crash time, the core file directory, stack information, and register
information.
Examples
# Display the exception context information on the x86-based 32-bit 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
esp:0xbfe244b8 ebp:0xbfe244c8 esi:0xffffffff edi:0xbfe24674
eip:0xb7caba4a eflag:0x00000292 cs:0x00000073 ss:0x0000007b
ds:0x0000007b es:0x0000007b fs:0x00000000 gs:0x00000033
# Display the exception context information on the x86-based 64-bit device.
<Sysname> display exception context
Index 1 of 1
------------------------------
Crashed PID: 121 (routed)
Crash signal: SIGBUS
Crash time: Sun Mar 31 11:12:21 2013
Core file path: