- 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...
-
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...
-
It is sometimes taken for granted that we need to reconcile permissions or permission sets. It is crucial to ensure that we can audit our e...
will this cause the service to crash or stop?
ReplyDelete