File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Question on thread dump" Watch "Question on thread dump" New topic

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

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.

I agree. Here's the link:
subject: Question on thread dump
Similar Threads
Weblogic Thread dump
Taking thread dump of Weblogic 8.1 in Solaris box
Apache HTTP server thread dump!
possible causes for CPU spike
How to take core dump in weblogic server