+

Search Tips   |   Advanced Search

Dumping threads in server processes

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

Before starting this task, wsadmin.sh must be running. See the Start the wsadmin scripting client article for more information.

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

(zos) To disable the generation of the heap dump, set the wsadmin_dumpthreads_enable_heapdump environment variable to 0. To disable the generation of the system TDUMP, set the wsadmin_dumpthreads_enable_javatdump environment variable to 0. We can set these variables at either the node or cell level.

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

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.


Related tasks

  • Use the wsadmin scripting AdminControl object for scripted administration

  • Commands for the AdminControl object

    (zos) Modify command

    (zos) Application server custom properties for z/OS