Collect some JVM metrics