1. Start the wsadmin scripting client. You have several options to run scripting commands, ranging from running them interactively to running them in a profile.
2. Invoke the generateHeapDump operation on a JVM MBean, for example,
- Finding JVM objectName:
<wsadmin> set objectName [$AdminControl queryNames WebSphere:type=JVM,process=<servername>,node=<nodename>,*]
- Invoking the generateHeapDump operation on JVM Mbean:
<wsadmin> $AdminControl invoke $objectName generateHeapDump
where,
3. Important to AMD 64-bit users: You must specify the -Xtrace option to take heap dumps. |
Thursday, 15 November 2012
Generating heap dump in WAS
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment