Wednesday, July 1, 2015

Heapdump

Here is the steps to generate heapdump.[ Tested and verified ]

Type : 1 
----> wsadmin
set objectName [$AdminControl queryNames WebSphere:type=JVM,process=server1,node=was7sec01Node01,*

$AdminControl invoke $objectName generateHeapDump


Type : 2            ==============kill -3 =======================

Application servers > server1 > Process definition > Environment Entries


IBM_HEAPDUMP TRUE    
IBM_JAVA_HEAPDUMP_TEXT TRUE   

recycle node and server once  ....

kill -3  <pid>


Type : 3 

To use the administrative console to generate your heap dump, complete the following:
    1. Start the administrative console.
    2. In the navigation pane, click Troubleshooting Java dumps and cores.
    3. Select the server_name for which you want to generate the heap dump.
    4. Click Heap dump to generate the heap dump for your specified server.

No comments:

Post a Comment