if you are on a unix machine, a "kill -3 processid" should cause the jvm to
generate a javacore dump. (thread dump)
At least this works for me on AIX with IBM's jdk running WebSphere. I get a
dump with a stack trace of all java threads as well as a java monitor (lock)
dump which can be used to find deadlocks.

-----Original Message-----
From: Shahata, Ash [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 19, 2002 4:45 AM
To: [EMAIL PROTECTED]
Subject: Thread dumps


Hi all,
does anyone know how to generate a thead dump from my virtual machine? I
read before that I could do it from the virtual machine, however I'm not
quite sure where to get the virtual machine window or process open from? I
want to monitor the threads to check for deadlocks.

Thanks
Ash

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com
*****************************************************************
DISCLAIMER:   The information contained in this e-mail may be confidential
and is intended solely for the use of the named addressee.  Access, copying
or re-use of the e-mail or any information contained therein by any other
person is not authorized.  If you are not the intended recipient please
notify us immediately by returning the e-mail to the originator.

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

Reply via email to