0 votes
in JAVA by
How do you take thread dump in Java?

1 Answer

0 votes
by

You can take a thread dump of Java application in Linux by using kill -3 PID, where PID is the process id of Java process. In Windows, you can press Ctrl + Break. This will instruct JVM to print thread dump in standard out or err and it could go to console or log file depending upon your application configuration. If you have used Tomcat then when

Related questions

0 votes
asked May 25, 2020 in JAVA by Robindeniel
0 votes
asked Oct 10, 2020 in JAVA by Robindeniel
...