kill -QUIT produces the thread dump, not the heap dump. That's being said it works exactly the same way with tomcat as with any other application, the whole thread dump is dumped out to the standard out which in this case is catalina.out.
Leon On Sat, Oct 4, 2008 at 8:57 AM, Mohit Anchlia <[EMAIL PROTECTED]> wrote: > I have a servlet running under tomcat. Question is how do I take haeap > dump of only servlet instance. On stand alone applications it's easy > to do with kill -QUIT PID but in this case there is no PID of a > servlet. If I do on tomcat's PID then I'll get lost. > > --------------------------------------------------------------------- > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]