Created
January 6, 2012 15:40
-
-
Save nickman/1571105 to your computer and use it in GitHub Desktop.
Gmx Example: Iterating Memory Pool Commited Memory
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import org.helios.gmx.*; | |
gmx = Gmx.remote("service:jmx:rmi://testserver1:8002/jndi/rmi://testserver1:8003/jmxrmi"); | |
gmx.mbeans("java.lang:type=MemoryPool,name=*", { | |
println "${it.objectName}:\t${it.Usage.committed}"; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment