Drawing Hands by M.C. Escher (1948)

Jeff Mesnil

Archive for April 18th, 2008


Monitoring Weblogic 9.2 with JMX and JRuby

On April 18th, 2008 in java, jmx, jmx4r, jruby, ruby (No Comments »)

From Tim Koopmans:

After getting nowhere with lack luster HP support, I turned to the power of the Open Source community and got a very simple script up and running to remotely monitor Weblogic JVM Performance and JMS queues using JMX and JRuby.

[...]

This script will enumerate JVM performance and also JMS queue depths in around 50 lines of code

That’s a good example of the conciseness that JRuby brings to the Java platform: in 50 lines of code, Tim connects to a remote Weblogic MBean server, retrieves attributes about memory usage and JMS queue and stores them in a CSV file.