Search code examples
javatomcatpermgenthread-dump

Tomcat thread dump


Is there away to take a thread dump from Tomcat? I would like to monitor the threads running in Tomcat at a certain point in time.

Note: I was doing that on Web logic but i don't know how it can be done on Tomcat.


Solution

  • If you use Linux, you can send a kill -3 [pid of your tomcat] and it will dump all current threads in the catalina.out.