- 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...
-
Soooo..... I refreshed my sandbox environment to create a partial copy of production. Added my new components and merrily attempted to de...
-
Links to content items can be written as URLs. The following examples show how to write links to Web Content Management Content that are to ...
will this cause the service to crash or stop?
ReplyDelete