08-05-2011
pstack file analysis
Hi ...
Can you please share how to analyse pstack file and various options for core dump analysis
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi folks,
I'm hoping someone would be charitable enough to give me a quick explanation of adb usage for analyzing core files...or point me in the right direction. A search here revealed scant results and web searches are providing me with ambiguous information.
Running Solaris.
Thanks,... (1 Reply)
Discussion started by: kristy
1 Replies
2. UNIX for Advanced & Expert Users
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
3. Solaris
Hello everyone,
I have a 12-thread application running on Solaris 9.
When I use the pstack command after a typical core dump, it prints the stack output of all 12 threads/lwps. This is the standard procedure as it is described in the Solaris MAN pages.
Is there a way to filter out the... (1 Reply)
Discussion started by: gregb32
1 Replies
4. Shell Programming and Scripting
Hello,
I have a text file containin 4 lines which are repeated along the file, ie
the file looks like this:
16:20:12.060769 blablabla 40
16:20:12.093199 blablabla 640
16:20:12.209003 blablabla 640
16:20:12.273179 blablabla 216
16:20:27.217444 blablabla 40
16:20:27.235410 blablabla 640... (2 Replies)
Discussion started by: Celine19
2 Replies
5. Red Hat
Can someone tell me the Linux equivalent for pstack and pfiles and ptree which are Solaris commands. (1 Reply)
Discussion started by: bdsffl
1 Replies
6. Solaris
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
7. Shell Programming and Scripting
Hi All,
Given a list of date and time, how can i split them in intervals of 1 hour. The input file is listed as below f.e.:
16-OCT-2009 09:11:47 10.65.4.24.
.
. (1 Reply)
Discussion started by: x-plicit78
1 Replies
8. UNIX for Advanced & Expert Users
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
9. Solaris
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
10. Ubuntu
Hi All
I would like to use the tool "pstack" to get a sample of the stack trace for a process.
As far as I understood It seems widely available in all Linux systems, but it is not in Ubuntu 10.10.
I tried using apt-get as per some posts in few forum, but it cannot be found in the APT... (9 Replies)
Discussion started by: manustone
9 Replies
LEARN ABOUT HPUX
vpardump
vpardump(1M) vpardump(1M)
NAME
vpardump - manage monitor dump files
SYNOPSIS
[vparmon[dumpfile]]
DESCRIPTION
The command is used to create (on PA-RISC systems only) and analyze a virtual partition monitor dump file. vparmon is the image of the
virtual partition monitor and dumpfile is the crash dump file corresponding to that image. is normally run from the rc script to analyze a
crash dump during HP-UX boot. If no options are specified, checks if the dumpfile has been cleared. If not, it analyzes dumpfile and
prints information about the crash to standard out. Then marks the dumpfile as clear. If dumpfile is not specified, the string is
appended to vparmon as in If vparmon is not specified, it defaults to
The dumpfile must exist prior to a vpar monitor crash. On PA-RISC systems, the and options create the dumpfile on PA-RISC. If is used, a
dumpfile is created that is large enough to contain the monitor image. If additional structures are required, such as I/O Page Directo-
ries, the option is used to reserve space for a full monitor crash dump. On Itanium(R)-based systems, the monitor dumpfile is created in
the EFI partition of the monitor's boot disk as needed. It is not necessary to pre-allocate a dump file in A monitor dump typically
requires less than 75 megabytes of free space in the EFI partition. In order to ensure that a complete crash dump can be saved, this much
free space must be maintained in the EFI partition.
Options
recognizes the following command-line options:
Analyze the
dumpfile. This option can be used to force an analysis even if dumpfile has been cleared.
Mark dumpfile as clear. No analysis is performed.
Analyze
dumpfile even if the versions do not match.
Initialize
dumpfile for a full dump. Supported only on PA-RISC systems.
Initialize
dumpfile for a normal dump. Supported only on PA-RISC systems.
Do not analyze the
dumpfile.
Enable verbose output.
The and options are allowed on Itanium-based systems for compatibility. No action is taken for the and options.
Operands
recognizes the following command-line operands:
vparmon The name of the image of the virtual partition monitor. If vparmon is not specified, it defaults to
dumpfile The name of the crash dump file corresponding to the image of the virtual partion monitor. If dumpfile is not specified,
the string is appended to vparmon as in
Security Restrictions
This command is restricted to processes owned by superuser or with the privilege. See privileges(5) for more information about privileged
access on systems that support fine-grained privileges.
RETURN VALUE
returns the following values:
Analyzed
dumpfile successfully.
Created a new
dumpfile.
A dumpfile does not exist.
The dumpfile is cleared, no action taken.
Error attempting to create a
dumpfile.
Error analyzing the
dumpfile.
Command syntax error.
EXAMPLES
Analyze the default dumpfile and create it if it does not exist:
Suppress the analysis of the default dumpfile, and reserve space for a full dump:
AUTHOR
was developed by the Hewlett-Packard Company.
SEE ALSO
vparextract(1M), privileges(5).
vpardump(1M)