進(jìn)入wsadmin D:\IBM\WebSphere\AppServer\profiles\AppSrv01\bin>wsadmin -user wasadmin -password password 設(shè)置jvm環(huán)境變量 wsadmin>set jvm [$AdminControl completeObjectName type=JVM,process=zsc_server1,*] 生成javacore文件 wsadmin>$AdminControl invoke $jvm dumpThreads 找到JVM對(duì)象名字 set objectName [$AdminControl queryNames WebSphere:type=JVM,process=zsc_server1,*] 生成heapdump文件 $AdminControl invoke $objectName generateHeapDump 進(jìn)入wsadmin D:\IBM\WebSphere\AppServer\profiles\AppSrv01\bin>wsadmin -user wasadmin -password password 設(shè)置jvm環(huán)境變量 wsadmin>set jvm [$AdminControl completeObjectName type=JVM,process=zsc_server1,*] 生成javacore文件 wsadmin>$AdminControl invoke $jvm dumpThreads 找到JVM對(duì)象名字 set objectName [$AdminControl queryNames WebSphere:type=JVM,process=zsc_server1,*] 生成heapdump文件 $AdminControl invoke $objectName generateHeapDump |
|