VerboseGC demonstrates the use of the java.lang.management API to
print the garbage collection statistics and memory usage remotely
by connecting to a JMX agent with a JMX service URL:
service:jmx:rmi:///jndi/rmi://
:/jmxrmi
where is the hostname and is the port number
to which the JMX agent will be connected.