0

The Dropwizard metrics library has a servlet to output a thread dump of the server: https://github.com/dropwizard/metrics/blob/3.2-development/metrics-servlets/src/main/java/com/codahale/metrics/servlets/ThreadDumpServlet.java

Is there any existing tool that parses this output into a more structured format and maybe also generate a nice html output for it?

Pinch
  • 2,768
  • 3
  • 28
  • 44
  • if [looks](https://github.com/dropwizard/metrics/blob/3.2-development/metrics-jvm/src/main/java/com/codahale/metrics/jvm/ThreadDump.java) like the data is formatted that way by implementation - editing to the output you need – Nick Bell Oct 11 '16 at 19:23
  • Looks like it's being built up by MXBeans. Shouldn't be hard to roll your own if necessary. – Qix - MONICA WAS MISTREATED Oct 11 '16 at 19:26

1 Answers1

0

Give TDA - Thread Dump Analyzer a try.

This will let you easily view locked monitors and waiting threads and provides overview of heap objects at a thread dump (if class histograms were logged).

You could also try:

Joseph Earl
  • 23,351
  • 11
  • 76
  • 89