Dumping threads in server processes using scripting

Use the AdminControl object to dump 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 TDUMP, and a Java core dump, which includes a Java thread dump. If you want to disable the generation of the heap dump, set the wsadmin_dumpthreads_enable_heapdump server custom property to 0. If you want to disable the generation of the system TDUMP, set the wsadmin_dumpthreads_enable_javatdump server custom property to 0. You can set these properties at either the node or cell level.

Procedure

Issue one of the following commands to produce a Java core dump.



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 of Use | Feedback

Last updatedLast updated: Sep 19, 2011 3:08:41 PM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=matt&product=was-nd-zos&topic=txml_dump
File name: txml_dump.html