1851080 Members
2561 Online
104056 Solutions
New Discussion

core file analysis

 
Ron L. Arrigo
Advisor

core file analysis

I'm looking for a tool or a command (other then a debugger) that will allow me to identify the executable that created a core file. Any ideas?
4 REPLIES 4
James R. Ferguson
Acclaimed Contributor

Re: core file analysis

Hi Ron:

Start with:

# file core

...JRF...
nancy rippey
Trusted Contributor

Re: core file analysis

Try using strings
strings 'corefile' | more
Hope this helps.
nrip
Vincenzo Restuccia
Honored Contributor

Re: core file analysis

. Determine what program cored

file core

2. Determine what libraries the program uses

chatr

3. Versions of libraries in core

what core

4. Stack trace

Three main options (in order of my
preference)
a. gdb core
(gdb) bt
b. dde -ui line core
dde> tb
c. adb


gdb is free to HP customers. Look on
software.hp.com for it. It installs
in /opt/langtools/bin/