protected void dumpStatistics() throws InterruptedException {
      Statistics[] stats = statSampler.getStatistics();
      for (int i = 0; i < stats.length; i++) {
        logger.info("Statistics[{}]: typeName={} instanceName={}", i, stats[i].getType().getName(),
            stats[i].getTextId());
      }
    }
Statistics[0]: typeName=StatSampler instanceName=statSampler Statistics[1]: typeName=VMStats
instanceName=vmStats Statistics[2]: typeName=VMMemoryUsageStats
instanceName=vmHeapMemoryStats Statistics[3]: typeName=VMMemoryUsageStats
instanceName=vmNonHeapMemoryStats Statistics[4]: typeName=VMMemoryPoolStats instanceName=Code
Cache-Non-heap memory Statistics[5]: typeName=VMMemoryPoolStats instanceName=PS Eden
Space-Heap memory Statistics[6]: typeName=VMMemoryPoolStats instanceName=PS Survivor
Space-Heap memory Statistics[7]: typeName=VMMemoryPoolStats instanceName=PS Old Gen-Heap
memory Statistics[8]: typeName=VMMemoryPoolStats instanceName=PS Perm Gen-Non-heap memory
Statistics[9]: typeName=VMGCStats instanceName=PS Scavenge Statistics[10]: typeName=VMGCStats
instanceName=PS MarkSweep Statistics[11]: typeName=LinuxSystemStats
instanceName=kuwait.gemstone.com Statistics[12]: typeName=LinuxProcessStats
instanceName=javaApp0-proc
geode-junit/src/main/java/org/apache/geode/internal/statistics/StatSamplerTestCase.java