Answer the question
In order to leave comments, you need to log in
Get thread dump for a running JAVA process?
Good afternoon.
There is a working JAVA process (tomcat) that seems to be stuck in production. I would like to know exactly where. How can I get the call stacks of all threads?
PS IDEA has a button for this:
Answer the question
In order to leave comments, you need to log in
jstack <PID>
jstack is a standard JDK utility located in $JDK_PATH/bin. The PID can be found in many ways, I usually do this with "ps -ef".
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question