Dumping threads in server processes using scripting

Use the AdminControl object to produce a Java core dump, which includes the Java threads of a running server.

Before you begin

Before starting this task, the wsadmin tool must be running. See the Starting the wsadmin scripting client using wsadmin scripting article for more information.

About this task

[z/OS] The dumpThreads command generates a Java heap dump, a Java virtual machine (JVM) initiated System Transaction Dump (TDUMP), and a Java core dump.

[z/OS] If you want to disable the generation of the heap dump, set the wsadmin_dumpthreads_enable_heapdump environment variable to 0. If you want to disable the generation of the system TDUMP, set the wsadmin_dumpthreads_enable_javatdump environment variable to 0. You can set these variables at either the node or cell level.

Procedure

Issue one of the following commands to produce a Java core dump.
Note: The dumpThreads command creates other types of dump files depending on the -Xdumps settings. Dump output varies depending on the platform and might include system core files, heap, and snap dumps.
Task topic    

Terms and conditions for information centers | Feedback

Last updated: April 20, 2014 08:46 PM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=phil&product=was-nd-mp&topic=txml_dump
File name: txml_dump.html