Hmmm, I am not a Perl expert, but I think the closest you could get is indeed using jolokia to expose the JMX beans via REST and then use Perl or use a Java Program reading the information and dump it to stdout, so that you can parse it from your perl script. There might be perl libs that help you with this kind of setup, but that’s out of my area of expertise.
Best regards Andreas > On 11 Nov 2014, at 11:56, bansalp <bpradee...@gmail.com> wrote: > > Thanks for the information. > > What am trying to do here is to get this value via a perl script, so is > there a way to access this value (using jmx) in perl script? > > > > > > -- > View this message in context: > http://activemq.2283324.n4.nabble.com/Is-there-a-way-to-get-kahadb-size-using-activemq-admin-command-line-tool-tp4687052p4687219.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com.