hawtio/hawtio-integration

ThreadDump for all threads

Closed this issue · 10 comments

Hi all,

is it possible to create aggregated thread dump of all JVM threads? I'would expect it to be somewhere in Runtime -> threads tab.

Thanks in advance,

Simon

Go to JMX tab and look into the Operations for java.lang:type=Threading MBean. There is an operation dumpAllThreads(boolean, boolean).

Thanks allot. I was more thinking about something similar to what for example visualvm provides, where all threads stack traces are formatted nicely on single page. I think it would be a nice feature.

vvm_td
vvm

Hawtio is just a pretty UI wrapper for JMX MBeans and extends no more features than they originally provide. So it depends on whether there are existing MBeans available that have such features in java.lang.* and others.

I was thinking about extending the Threads tab in Runtime - adding ThreadDump button that creates and prints stack traces for all threads in single page. Same as More action but aggregated for all threads
hawtio_td

Ah that should be possible and can be a potential enhancement for the Threads tab. If you could create a pull req I can review it.

I'm afraid I'm not that familiar with web stack (JS,...) :-) ...

Anyway, if you or someone else finds time, I think it would be a great feature addition...

This issue has been automatically marked as stale due to a year of inactivity.
It will be closed if no further activity occurs within 14 days.
If you think that’s incorrect or the issue should never stale, please simply write any comment.
Thanks for your contributions!

I would like to work on this.

Closed by mistake

With this final Pull Request: #146. This issue can now be closed