|
|
a JRuby library to manage remote Java applications using JMX
Latest release: 0.0.6
Install
jruby -S gem install jmx4r
Use
require 'rubygems' require 'jmx4r' JMX::MBean.establish_connection :host => "localhost", :port => 3000 memory = JMX::MBean.find_by_name "java.lang:type=Memory" # display verbose GC logs memory.verbose = true # trigger a Garbage Collection memory.gc
Contribute
git clone git://github.com/jmesnil/jmx4r.git
