Sponsored Content
Top Forums UNIX for Advanced & Expert Users analyse core file using pmap and pstack Post 302428867 by KiranBangalore on Friday 11th of June 2010 05:42:54 AM
Old 06-11-2010
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 solaris machine. Code is not given.

Any help is appreciated.

Thanks
Kiran
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

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. ... (3 Replies)
Discussion started by: kimblebee
3 Replies

2. UNIX for Advanced & Expert Users

Using GDB to analyse different CORE dumps

Hi, Can we modify the GDB source code so as to analyze core dumps from different targets? From my analysis, I think we need to build our section table statically for each target. i.e., including the various address boundaries in build_section_table() function. If this is the case, then the GDB... (2 Replies)
Discussion started by: nsdeeps
2 Replies

3. Shell Programming and Scripting

script to loop all process ids and take pmap

Hi all, I need a script that will loop around all the current processes and take a pmap -x <process id> and output each pmap to a separate file. Would anyone have a quick command to do this? (2 Replies)
Discussion started by: borderblaster
2 Replies

4. Red Hat

pmap -d ldap-process-id

Hi All, Is the command above dangerous to run on the ldap environment? Thanks for any comments you may add. (1 Reply)
Discussion started by: itik
1 Replies

5. 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

6. Solaris

RSS pmap and prstat

Hi, I have some question about memory in Solaris. How it's possible that prstat -a show me that some process using 230M RSS and when I'm using pmap -x show me that this same process using only 90M RSS ? (0 Replies)
Discussion started by: deivo
0 Replies

7. Solaris

loop for pmap -x

I would to create a command /script where I want lauch pmap -x pid for each procces which is launched on server , and I don't know how to write a loop where it would be included . (2 Replies)
Discussion started by: kvok
2 Replies

8. 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

9. UNIX for Dummies Questions & Answers

Analyse this fdisk -l

Hi, Someone please analyse the following o/p of fdisk -l and tell me what it means for /dev/sda, /dev/sdb, /dev/sdc .... Disk /dev/sda: 53.6 GB, 53687091200 bytes 255 heads, 63 sectors/track, 6527 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start ... (5 Replies)
Discussion started by: stunn3r
5 Replies

10. HP-UX

How to analyse the syslog?

Hi All, When can we see these messages in the syslog. We have service guard cluster software installed on hpux 11iv3 servers. We were able to see the below error so many times in our syslog messages cmdisklockd: Unable to convert device to I/O tree node: I/O tree node does not exist. ... (2 Replies)
Discussion started by: Sachin1987
2 Replies
pstack(1)						      General Commands Manual							 pstack(1)

NAME
pstack - print a stack trace for each LWP in each process and core file SYNOPSIS
DESCRIPTION
prints a stack trace (hex+symbolic) for each LWP (Lightweight Process) in each process and core file. Given the pid of a running process or the full path of a core file, prints the stack trace for each LWP thread in the process. To obtain symbol information, searches load modules (executable and shared libraries) in the current directory, and You can specify the executable path with the pid/corepath, separated by a colon character. If cannot find a load module, symbol information for frames in that module is not displayed. works by attaching to the running process and reading its registers, memory, and stack. Mismatch between executable and corefile may result in unpredictable behavior. Options supports the following option: Prints the usage menu. Operand supports the following operand: pid identifies a running process, with an optional execpath, the full executable path. corepath is the full path name of the specified executable. RETURN VALUES
returns the following values: Successful completion. Failure. An error has occurred. SEE ALSO
ldd(1), pldd(1). Itanium(R)-based Systems Only pstack(1)
All times are GMT -4. The time now is 11:12 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy