如何分析Websphere core*.dmp 文件和Snap*.trc 文件?
全部, 我的应用程序在 websphere 应用程序服务器 7.0 上运行。 我得到了一些核心转储和跟踪文件,例如
core.20110909.164930.3828.0001.dmp
和
Snap.20110909.164930.3828.0003.trc。
我的问题是,就像 WAS 生成的线程转储可以通过 IBM-Thread 打开和分析一样转储分析器工具
IBM 或其他任何工具是否有打开上述文件的工具?
谢谢, 阿尤斯曼
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
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
核心转储必须由 jextract 实用程序(转储的 jre 的)进行处理
从我的 webspere 根目录来看,这是 ./java/jre/bin/jextract。
然后,结果输出可以由 ISA 处理
Snap 文件由 java 跟踪工具处理,即
java com.ibm.jvm.format.TraceFormat [] [选项]
从
http://publib.boulder.ibm.com/infocenter/realtime/v1r0/topic/com.ibm.rt.doc.10/diag/tools/trace_formatter.html for was v6
输出是可读的
Mike Prendergast
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
Eclipse Memory Analyzer 是一个用于分析 core*.dmp 的优秀工具(以及便携式堆转储,即 .phd 文件)。要读取这些 Websphere Dumps,需要使用名为 需要安装 IBM Diagnostic Tool Framework for Java(更新站点)。
在尝试打开大转储之前,请记住通过修改
MemoryAnalyzer.ini
并添加/修改行-Xmx4096m
来增加工具的堆大小,根据您的需要调整此数字。
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.