Tutorial: Introduction to GC Monitoring

less than 1 minute read

Introduction to GC Monitoring

(Work-in-progress) For command line tools use jstat jstat –gc $<vmid$> 1000

Explanation of what vmid is Use jps to find the vmid of the java process that you want to observe

HPJMeter is convenient for analyzing -verbose:gc output results Use -verbose:gc and -Xloggc: options when starting the JVM. HPJMeter can be used to read the log file and create graphs out of the data.

This article was motivated by http://www.cubrid.org/blog/dev-platform/how-to-monitor-java-garbage-collection/