|
|||||||
| Forums | Search Forums | Register | Forum Rules | Man Pages | Albums | FAQ | Members | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD. |
|
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Core Dump Analysis Using PStack and PMAP
Hello,
I'm new to the group and this is my first post. I'm hoping someone can help me out. I have a core dump that I need to analyze from a Unix box and I've never done this sort of thing before. I was told to run a pmap and pstack on the core file which provided two different output files. I've been searching on Google for information on how to read these files to determine the culprit of the crash but I'm not having much luck. I've read many articles about gdb but I don't have root access on the system to add the tool. Can anyone point me to a good tutorial or provide tips on how to analyze the core dump file with the pmap and pstack files I have? Thanks so much. Kimmy |
| Sponsored Links | ||
|
|
#2
|
||||
|
||||
|
Hi,
Can you please tell the the OS that you are using? Thanks Nagarajan G |
| Sponsored Links | ||
|
|
#3
|
||||
|
||||
|
pmap will give you the process mapping of the application. It will provide details like which shared objects are in use, the memory usage for each of them et al. pstack will give you the stack trace of a process. You have a core dump with you. You are better off using gdb. Use it as Code:
gdb progname the.core.file See man gdb for more details. |
|
#4
|
|||
|
|||
|
Use dbx
dbx is another very user friendly and robust utility for core debugging.
|
| Sponsored Links | ||
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| core dump analysis : __kernel_vsyscall () | pawankkamboj | Red Hat | 0 | 01-01-2012 01:35 AM |
| analyse core file using pmap and pstack | KiranBangalore | Solaris | 4 | 06-14-2010 02:57 AM |
| analyse core file using pmap and pstack | KiranBangalore | UNIX for Advanced & Expert Users | 1 | 06-11-2010 05:52 AM |
| How to do core dump analysis in AIX? | Mythili | AIX | 2 | 07-21-2008 07:03 AM |
| How to do core dump analysis | sip | UNIX for Advanced & Expert Users | 5 | 06-20-2005 11:09 AM |
|
|