How to analyse Websphere core*.dmp file and Snap*.trc files?
Asked Answered
L

2

8

All, I have my application running on websphere app server 7.0. I get some of these core dumps and trace files like

core.20110909.164930.3828.0001.dmp

and

Snap.20110909.164930.3828.0003.trc.

My question is, just like the thread dumps generated by WAS can be opened and analyzed by IBM-Thread Dump Analyzer tool

is there a tool(s) to open the above mentioned files by IBM or any other?

Thanks, Ayusman

Luce answered 9/9, 2011 at 11:54 Comment(0)
S
11

the core dumps have to be processed by the jextract utility (of the jre that dumped) fromn my webspere root this is ./java/jre/bin/jextract.

The resulting output can then be proccessed by ISA

Snap files are proccessed by the java trace tool ie java com.ibm.jvm.format.TraceFormat [] [options] from http://publib.boulder.ibm.com/infocenter/realtime/v1r0/topic/com.ibm.rt.doc.10/diag/tools/trace_formatter.html for was v6

the output is readable

mike prendergast

Scot answered 13/9, 2011 at 12:34 Comment(2)
Where is the TraceFormat for was8 ? I don't see any information for that version.Turgeon
Link didn't work for me, but ibm.com/support/knowledgecenter/SSYKE2_7.0.0/… had what I neededLody
G
7

Eclipse Memory Analyzer is an excellent tool for analyzing the core*.dmp (and portable heap dumps, i.e. .phd files, too). To read those Websphere Dumps an additional plugin called IBM Diagnostic Tool Framework for Java needs to be installed (Update Site).

Before even trying to open big dumps remember to increase the tool's heap size by modifying the MemoryAnalyzer.ini and adding/modifying the line

-Xmx4096m

Adjust this number to your needs.

Garretgarreth answered 21/3, 2016 at 10:1 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.