Network Deployment (Distributed operating systems), v8.0 > Scripting the application serving environment (wsadmin) > Troubleshoot with scripting
Dumping threads in server processes using scripting
Use the AdminControl object to dump the Java threads of a running server.
See the Start the wsadmin scripting client using wsadmin.sh article for more information.
Procedure
Issue one of the following commands to produce a Java core dump.
### Jacl
set jvm [$AdminControl completeObjectName type=JVM,process=server1,*] $AdminControl invoke $jvm dumpThreads### Jython
jvm = AdminControl.completeObjectName('type=JVM,process=server1,*') AdminControl.invoke(jvm, 'dumpThreads')
Use the wsadmin scripting AdminControl object for scripted administration
Related
Commands for the AdminControl object using wsadmin.sh