I am intrigued by this feature; it would help with the debugging of a application. I tried to test it against tomcat but I get nothing on stderr (i.e., nothing in /var/log/messages, terminal, directory I am in, catalina.out, or any of the logs for Tomcat).
Could you expand on what behavior you see when you send the -3 to Tomcat's PID? Thanks, Ben Ricker Wellinx.com On Fri, 2002-12-06 at 12:29, Schnitzer, Jeff wrote: > FYI, no it doesn't, it just causes the (Sun, at least) JVM to dump a > list of threads and their stacks to stderr. Note that it's the real > stderr, not System.err. This is a JVM feature. It can be done anytime > and is a *really* useful debugging feature. > > Jeff > > > -----Original Message----- > > From: Manavendra Gupta [mailto:[EMAIL PROTECTED]] > > Sent: Friday, December 06, 2002 8:01 AM > > To: Tomcat Users List > > Subject: RE: Thread dump > > > > Beg your pardon? would that not actually kill the process, rather than > > displaying the thread dump? > > > > And what if one wants to see the thread dump right from the moment > tomcat > > starts up? > > > > Thanks, > > manav. > > > > -----Original Message----- > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > > Sent: Friday, December 06, 2002 9:18 PM > > To: Tomcat Users List > > Subject: Re: Thread dump > > > > > > > > kill -3 <pid> > > > > RS > > > > > > > > "Manavendra > > Gupta" To: "Tomcat Users > > List" > > <[EMAIL PROTECTED]> > > <[EMAIL PROTECTED]> > > cc: > > 12/06/02 09:53 AM Subject: Thread dump > > Please respond to > > "Tomcat Users > > List" > > > > > > > > > > > > > > I have tomcat 4.1 running on Linux. How do i see the thread dump? The > > startup.sh on linux just starts it in the background, while i could > use > > startup.bat on windows and get the thread dump. > > > > thanks, > > manav. > > > > > > -- > > To unsubscribe, e-mail: < > > mailto:[EMAIL PROTECTED]> > > For additional commands, e-mail: < > > mailto:[EMAIL PROTECTED]> > > > > > > > > > > > > > > > > -- > > To unsubscribe, e-mail: > > <mailto:[EMAIL PROTECTED]> > > For additional commands, e-mail: > > <mailto:[EMAIL PROTECTED]> > > > > > > -- > > To unsubscribe, e-mail: <mailto:tomcat-user- > > [EMAIL PROTECTED]> > > For additional commands, e-mail: <mailto:tomcat-user- > > [EMAIL PROTECTED]> > > > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > -- Ben Ricker <[EMAIL PROTECTED]> Wellinx.com -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>