Wednesday, October 8, 2014

Dump all (most?) JMX Beans via Jolokia using just the shell and a bit of json formatting

It seems jolokia doesn't support dumping everything with just one command.

So here's a really hacky quick and dirty way to get all information jolokia can access:

Once you've gotten this far, piping the information into a file or another tool is trivial.

1 comment:

  1. Lesser the number of lines, better the code and lighter the file of code. These three aspects are kept in mind while coding and they are kept in mind in this post too. Thanks for this code!