Sorry. But I didn't understand how using 2 terminals would help me with the questions I posted.
Jim Cox-2 wrote: > > FWIW, I usually do a tail/tee on catalina.out in a term, then do the > kill -QUIT <tomcat PID> from another term, then kill the tail/tee > combo which leaves me with a reasonably clean thread dump. > > For example: > > Terminal A: > prompt$ tail -f /usr/local/tomcat/logs/catalina.out | tee > /tmp/tomcat-threads.tmpA > > Terminal B: > prompt$ kill -QUIT 12345 > > > On Wed, Sep 2, 2009 at 2:56 PM, keeplearning<p_sodh...@yahoo.com> wrote: >> >> Hi All, >> >> I have a quick question about getting thread dumps. I have been told that >> if >> I do kill -3 <process id>, it will send the thread dumps to catalina.out. >> >> Let say if I run test 1 and take 3 dumps. Then if I run test 2 and 3 >> more. >> Do these get appended to first thread dumps I took? >> >> If yes, Let say if I run 3 different tests and take 3 dumps each test, >> how >> should I seperate those dumps as per specific tests. How do you guys >> normally do it? >> -- >> View this message in context: >> http://www.nabble.com/thread-dumps-catalina.out-tp25263566p25263566.html >> Sent from the Tomcat - User mailing list archive at Nabble.com. >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org >> For additional commands, e-mail: users-h...@tomcat.apache.org >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > > > -- View this message in context: http://www.nabble.com/thread-dumps-catalina.out-tp25263566p25263811.html Sent from the Tomcat - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org