How to verify core dump is usable

book

Article ID: 34721

calendar_today

Updated On:

Products

DX Infrastructure Management NIMSOFT PROBES

Issue/Introduction

Introduction:

If you have created a core dump and want to verify that it is usable, follow these steps.


Instructions:

1- Get the following from Linux tunnel server where you got the core dump:

# uname -a
# cat /etc/redhat-release        # for RHEL/CentOS
# cat /etc/SuSE-release         # for SUSE/OpenSUSE


2- Run 'gdb' command to open the core file:

# cd /opt/nimsoft/hub    # assuiming core files are in hub folder
# gdb hub <core-file>
e.g

# gdb hub core.18273


In gdb prompt type following and hit Enter key:

(gdb) thread apply all bt full


If you see something like following, core is good and usable:

Thread 78 (Thread 5867):
#0  0x0000003789ace1d2 in select () from /lib64/libc.so.6
No symbol table info available.
#1  0x00000000004686b5 in nimSessionWait (nims=0x9ce3c20, millWait=1000, psnims=0x2b612825d0b8) at nimcom.c:3445
        rc = 0
        sp = 0x0
        rwset = {__fds_bits = {64, 0 <repeats 15 times>}}
        wset = {__fds_bits = {0 <repeats 16 times>}}
        eset = {__fds_bits = {0 <repeats 16 times>}}
        mfd = 6
        tval = {tv_sec = 0, tv_usec = 419000}
        curt = 1365524256
#2  0x000000000046f967 in nimSessionDispatch (list=0x9cd82d0, millisec=10, breakOnTimeout=0) at nimdisp.c:890
        snims = 0xa1c4690




 


Environment

Release: CNMSPP99000-8.47-Unified Infrastructure Mgmt-Server Pack-- On Prem
Component: