This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
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 REST with Spring (video course) this week in the Spring forum!
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.

It is sorta covered in the JavaRanch Style Guide.
subject: Question on thread dump
It's not a secret anymore!