June 2025
M T W T F S S
 1
2345678
9101112131415
16171819202122
23242526272829
30  

Categories

June 2025
M T W T F S S
 1
2345678
9101112131415
16171819202122
23242526272829
30  

manual heap or thread dump in websphere

How you should force heap or thread dump using wsadmin script

Login to your machine running WAS
Navigate to
cd /profiles//bin/
Connect to deployment manager using wsadmin script
wsadmin.sh -conntype SOAP -username -password
Set object variable
wsadmin> set jvm [$AdminControl completeObjectName type=JVM,process=,node=,*]
Force heap dump
wsadmin> $AdminControl invoke $jvm generateHeapDump
In case you would like to dump threads
wsadmin> $adminControl invoke $jvm dumpThreads
Heap or thread dump will be saved to /profiles// directory with with respective naming convention

Heapdump
heapdump.

Leave a Reply

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>