[jboss-user] [Performance Tuning] - Re: ThreadDump to a File

PeterJ do-not-reply at jboss.com
Tue Aug 19 18:45:13 EDT 2008


Providing a thread dump is the responsibility of the JVM, not JBossAS. A JVM thread dump always goes to the stdout. You could always redirect stdout to a file when launching JBossAS.

Other alternatives:

* Use JConsole of VisualVM - they both let you take thread dumps and I believe you can save them to a file

* Use the listThreadDump operation of the jboss.system:type=ServerInfo Mbean. If you did this using twiddle you could redirect the results to a file.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171386#4171386

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171386



More information about the jboss-user mailing list