Sponsored Content
Top Forums UNIX for Advanced & Expert Users Core Dump Analysis Using PStack and PMAP Post 302125665 by vino on Friday 6th of July 2007 08:16:30 AM
Old 07-06-2007
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.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

help, what is the difference between core dump and panic dump?

help, what is the difference between core dump and panic dump? (1 Reply)
Discussion started by: aileen
1 Replies

2. UNIX for Advanced & Expert Users

How to do core dump analysis

Hi All, I am new to unix environment. Please tell me how to do coredump analysis. Please explain clearly with example. What are the details are available in the core. Thanks in advance (5 Replies)
Discussion started by: sip
5 Replies

3. AIX

How to do core dump analysis in AIX?

Please tell me some methods to analyse core dump in AIX.:) (2 Replies)
Discussion started by: Mythili
2 Replies

4. Solaris

Core file analysis

How can we analyze a core file and determine why it was generated on a solaris system? I know file core filename will tell us what program generated the file. But, what to do next to get more details? Thanks, (5 Replies)
Discussion started by: Pouchie1
5 Replies

5. UNIX for Advanced & Expert Users

analyse core file using pmap and pstack

Dear All, I am new to this forum. This is my first. I am facing customer issue. Customer has got core file while running the server. He had sent core file and details from pstack, pmap and pldd commands. I have to debug this application, please help me to fix this issue. I am using sparc... (1 Reply)
Discussion started by: KiranBangalore
1 Replies

6. Solaris

analyse core file using pmap and pstack

Dear All, I am new to this forum. This is my first. I am facing customer issue. Customer has got core file while running the server. He had sent core file and details from pstack, pmap and pldd commands. I have to debug this application, please help me to fix this issue. I am using sparc 10... (4 Replies)
Discussion started by: KiranBangalore
4 Replies

7. Solaris

pstack file analysis

Hi ... Can you please share how to analyse pstack file and various options for core dump analysis (3 Replies)
Discussion started by: anand87
3 Replies

8. Red Hat

core dump analysis : __kernel_vsyscall ()

We have just enabled core dump on our RHEL5.7 OS. the java process is terminating very often so we enable core dump to analysis the issue and find below in core dump file. Core was generated by `/usr/java/jdk1.6.0_06//bin/java -server -Xms1536m -Xmx1536m -Xmn576m -XX:+Aggre'. Program... (0 Replies)
Discussion started by: pawankkamboj
0 Replies

9. UNIX for Dummies Questions & Answers

Learn Linux Core Dump Analysis

Can any body provide me some good link to learn to create and analyze linux user mode application / kernel module core dumps? (1 Reply)
Discussion started by: rupeshkp728
1 Replies

10. AIX

AIX system dump analysis

dear all, i have p770 aix6.1 last week, the host reboot suddenly with dump. but i don't know how to analyze the dump. I posted kdb details in the attachment. please anybody help me. #>kdb vmcore.0 /unix vmcore.0 mapped from @ 700000000000000 to @ 7000001c72c0908 START ... (13 Replies)
Discussion started by: tomato00
13 Replies
gcore(1)						      General Commands Manual							  gcore(1)

NAME
gcore - get core images of running processes SYNOPSIS
filename] process-id... DESCRIPTION
The command creates a core image of each specified process. By default, the name of the core image file for process-id will be The process information in the core file can be obtained by using debuggers. When the command creates a core image of each specified process, the process is temporarily stopped. Further, when the creation of core image is complete, the process continues to execute. Options Creates the core file with name of the file as If multiple process-id values are specified, filename will be common for all the core image files. See the section. Operands process-id The process ID for which a core image file will be created. RETURN VALUE
Upon completion, exits with one of the following values: A core file was successfully created. An error condition was encountered. In such a case, the creation of a core file is not guaranteed. The error conditions could be because of o A nonexistent or incorrect process ID was specified. o An invalid option was specified. o The current working directory of the process or directory from which was invoked had no write permissions. o The current working directory of the process was not accessible. o The file system is full. EXAMPLES
Example 1 Dump the core image of process 1030 in the file "core.1030". Example 2 Dump the core image of the process 1030 in the file "test.1030". Example 3 Dump the core image of the processes 1030, 1031, 1032, and 1033 in the files "core.1030", "core.1031", "core.1032", "core.1033". Example 4 Dump the core image of the processes 1030, 1031, 1032, and 1033 in the files FILES
Core image file for process-id. (Both where is invoked and the current working directory of the process.) AUTHOR
was developed by Chris Bertin (HP). SEE ALSO
adb(1), gdb(1), kill(1), ttrace(2), a.out(4), core(4). gcore(1)
All times are GMT -4. The time now is 01:31 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy