1-11
Cisco IOS XR Troubleshooting Guide for the Cisco CRS-1 Router
OL-21483-02
Chapter 1 General Troubleshooting
Basic Cisco IOS XR Verification and Troubleshooting Tools
show context Command
The show context command displays core dump context information for the last ten core dumps. The
command output is used for post-analysis in the debugging of processes (determine if any process
crashes have occurred).
If there are no crashed processes, the show context command displays no output for each node. The
following example shows the output of the show context command with no crashed processes.
RP/0/RP1/CPU0:router# show context
node: node0_1_CPU0
------------------------------------------------------------------
node: node0_6_CPU0
------------------------------------------------------------------
node: node0_RP0_CPU0
------------------------------------------------------------------
node: node0_RP1_CPU0
------------------------------------------------------------------
The following example shows the output from the show context command where there is a crashed
process.
RP/0/RP1/CPU0:router# show context
node: node0_1_CPU0
------------------------------------------------------------------
Crashed pid = 61524 (pkg/bin/tcam_mgr)
Crashed tid = 1
Crash time: Wed Apr 05, 2006: 18:27:26
Core for process at harddisk:/dumper/first.tcam_mgr.abort.node0_1_CPU0.ppc.Z
Stack Trace
#0 0xfc1d3fa0
#1 0xfc1c6340
#2 0xfc1c5364
#3 0xfc1c542c
#4 0x48210930
#5 0x482110b8
#6 0x48212ba4
#7 0x48203dd8
#8 0x4820c61c
#9 0xfc1557ec
#10 0xfc15573c
#11 0xfc152fb8
#12 0x4820d140
Registers info
r0 r1 r2 r3
R0 00000000 481ff7b0 4824a55c 00000000
r4 r5 r6 r7
R4 0000f054 00000001 00000006 00000000
r8 r9 r10 r11
R8 00000000 fc220000 481fffc0 00000000
r12 r13 r14 r15
R12 4823be90 4824a4a0 48230000 00000000
r16 r17 r18 r19
R16 00000048 00000001 00000019 48256520
r20 r21 r22 r23
R20 00000000 00000000 00000003 00000045