码迷,mamicode.com
首页 > Web开发 > 详细

导出websphere内存镜像

时间:2016-04-20 13:35:52      阅读:216      评论:0      收藏:0      [点我收藏+]

标签:

1.      将脚本放致profiles\appservername\bin

2.      查看一下soap host(在控制台port中能够看到)

3.      运行例如以下命令:./wsadmin.sh -host localhost(指出要截dumpcore的机器) -port soapport -username wasadmin -password wasadmin -f jvmDump.jacl

4.      ./wsadmin.sh -host localhost(指出要截dumpcore的机器) -port soapport -username wasadmin -password wasadmin -f heapDump.jacl



</pre><pre name="code" class="plain">set jvm [$AdminControl completeObjectName type=JVM,process=server1,*]
puts stdout "About to start dumping javaheap ..."
puts stdout [$AdminControl invoke $jvm generateHeapDump]<pre name="code" class="plain">
</pre><pre name="code" class="plain">set jvm [$AdminControl completeObjectName type=JVM,process=server1,*]
puts stdout "About to start dumping javacore ..."
$AdminControl invoke $jvm dumpThreads
puts stdout "Done dumping javacore."

puts stdout "Done :)"




导出websphere内存镜像

标签:

原文地址:http://www.cnblogs.com/bhlsheji/p/5411892.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!