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

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

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.



In this information ...


IBM Redbooks, demos, education, and more

(Index)

Use IBM Suggests to retrieve related content from ibm.com and beyond, identified for your convenience.

This feature requires Internet access.

Task topic Task topic    

Terms and conditions for information centers | Feedback

Last updatedLast updated: Feb 6, 2014 8:11:25 PM CST
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=matt&product=was-nd-mp&topic=txml_dump
File name: txml_dump.html