File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Threads and Synchronization and the fly likes How can I dump all thread stacks? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Threads and Synchronization
Reply Bookmark "How can I dump all thread stacks?" Watch "How can I dump all thread stacks?" New topic
Author

How can I dump all thread stacks?

JoseAntonio Quiles
Greenhorn

Joined: Jun 07, 2002
Posts: 5
I would like to dump all running thread stacks. Is it possible? How can I do?
I don't find any standard java method. Perhaps invoking the virtual machine...
My JVM is running into JRun, and it does not seem to respond to kill -3. Is there another method? I would like to write a java class that dumps the thread stack to a file at any time.
Thank you in advance.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: How can I dump all thread stacks?
 
Similar Threads
how ro get a java thread dump of a application
need to take thread dump
Receiving "java/lang/OutOfMemoryError"
Difference between Thread & Process
Sorting a stack