GC output profiling using jstat


/ Published in: Java
Save to your folder(s)

Prints GC stats every 1 second.


Copy this code and paste it in your HTML
  1. $JAVA_HOME/bin/jstat -gcutil -h 10 -t <pid> 1s

URL: http://java.sun.com/javase/6/docs/technotes/tools/share/jstat.html

Report this snippet


Comments


You need to login to view comments.