Skip to content

Instantly share code, notes, and snippets.

@nickman
Created January 6, 2012 18:54
Show Gist options
  • Save nickman/1571900 to your computer and use it in GitHub Desktop.
Save nickman/1571900 to your computer and use it in GitHub Desktop.
Gmx Example: Iterating Local VMs And Printing MBeanServerId
import org.helios.gmx.*;
Gmx.attachInstances(true, {
println it.mbean("JMImplementation:type=MBeanServerDelegate").MBeanServerId;
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment