/ Published in: Java

Prints GC stats every 1 second.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
$JAVA_HOME/bin/jstat -gcutil -h 10 -t <pid> 1s
URL: http://java.sun.com/javase/6/docs/technotes/tools/share/jstat.html
Comments
