...
jcmd <pid> JavaThread.dump
jcmd <pid> JavaThread.dump -format=json
jcmd <pid> JavaThread.dump text /tmpd/threads.txt
jcmd <pid> JavaThread.dump -format=json /tmpd/threads.json
The JSON output has two arrays. There is one array for the threads that includes the identifier, name, and stack trace of each thread. The second array has the thread executors and the identifiers of all threads started by the executor.
...
Overview
Content Tools
ThemeBuilder