You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Christopher Schultz <ch...@comcast.net> on 2003/11/05 14:26:30 UTC

[OT] How to get a thread dump (was: Severe notification ...)

Mufaddal,
 > Is
> there a facility in tomcat that would allow me to dump its threads and 
> allow me to see where the threads are waiting and not moving on ?

People need to stop asking this question and do "google java virtual 
machine thread dump". Sheesh...

Send the process a STOP signal, and it will emit a thread dump to 
standard output. This is CTRL-\ on UNIX within the terminal that started 
the Java process (if it's still in the foreground). You can go a 
CTRL-BREAK on win32 to get the same thing.

I highly recommend redirecting stdout to a file, as you'll get LOTS of 
output from the thread dump.

-chris


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org