File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes BEA/Weblogic and the fly likes Question on thread dump Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Question on thread dump" Watch "Question on thread dump" New topic
Author

Question on thread dump

Amit Kumar.
Ranch Hand

Joined: Feb 27, 2009
Posts: 32
In Unix, we give kill -3 <pid> three times to generate thread dump.

Why don't we give this command once or more than three times
Marcos Maia
Ranch Hand

Joined: Jan 06, 2001
Posts: 977
Hi,

You get 1(one and only one) thread dump with kill -3 <pid> wich is sent to standard out for the chosen server.

Usually it's recommended taking 3 thread dumps in an interval of about 1 minute because doing so allows us to track how the threads are flowing in the server in that interval.


[]s
 
jQuery in Action, 2nd edition
 
subject: Question on thread dump