February 2025
M T W T F S S
 12
3456789
10111213141516
17181920212223
2425262728  

Categories

February 2025
M T W T F S S
 12
3456789
10111213141516
17181920212223
2425262728  

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>