- SSH/Telnet to the box.
- Get to your WebSphere 7 AppServer/bin directory, e.g. /opt/Was7/AppServer/bin.
- Run ./wsadmin.sh -profileName myProfileName -user wasadmin -password adminpassword (substitute your WAS profile name, user and password of course).
- This will give you a prompt where you can enter commands.
- First, we set a substitution variable with the full name of the object representing our app server:
set jvm [$AdminControl completeObjectName type=JVM,process=MyServerName,*]
- Next, we can invoke the dumpThreads and/or generateHeapDump methods of that object:
$AdminControl invoke $jvm dumpThreads
$AdminControl invoke $jvm generateHeapDump
- By default, the commands above will place the dump files in the root directory for your application profile, e.g. /opt/Was70/AppServer/profiles/myAppProfile.
Wednesday, November 27, 2013
How to generate a thread dump and heap dump in WebSphere 7 on UNIX/LINUX/AIX
So you want to manually invoke a heapdump?
Subscribe to:
Post Comments (Atom)
Generate reports from Opportunities using a Visualforce Page in Salesforce
Step 1: Create a Visualforce Page Go to the Setup menu in Salesforce. Search for "Visualforce Pages" in the Quick Find box and c...
-
So I ran into this nasty little bugger and my approval process came to a grinding halt. For those who have never seen this before your fi...
-
Inline Editing So now I have tested the inline editing jsp done by David De Vos.Simply brilliant! Really offers you the ability to offe...
will this cause the service to crash or stop?
ReplyDelete