> From: Jones, Keven [mailto:keven.jo...@ncr.com]
> How do I
>
> A. get thread dumps when the processes are dying

The top of 
http://java.sun.com/developer/technicalArticles/Programming/Stacktrace/ is good 
general reading.

kill -QUIT <pid of Java process>

If ps is confused by all the threads, depending on your Java version, you might 
be able to use jps 
(http://java.sun.com/j2se/1.5.0/docs/tooldocs/share/jps.html) to get the pid.

Depending on your Java version, jstack 
(http://java.sun.com/j2se/1.5.0/docs/tooldocs/share/jstack.html) will also give 
you thread dumps.

                - Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to