官网:http://www.tagtraum.com/gcviewer.html
下载地址:https://github.com/chewiebug/GCViewer
For a cmdline based report summary just type the following to generate a report (including optional chart image file): java -jar gcviewer-1.3x.jar gc.log summary.csv [chart.png] [-t PLAIN|CSV|CSV_TS|SIMPLE|SUMMARY] When logfile rotation (-XX:+UseGCLogFileRotation) is enabled, the logfiles can be read at once: java -jar gcviewer-1.3x.jar gc.log.0;gc.log.1;gc.log.2;gc.log.current summary.csv [chart.png] [-t PLAIN|CSV|CSV_TS|SIMPLE|SUMMARY]
java -jar gcviewer-1.35-SNAPSHOT.jar gc2.log PLIAN.csv PLAIN.png -t PLAIN
java -jar gcviewer-1.35-SNAPSHOT.jar gc2.log CSV.csv CSV.png -t CSV
java -jar gcviewer-1.35-SNAPSHOT.jar gc2.log CSV_TS.csv CSV_TS.png -t CSV_TS
java -jar gcviewer-1.35-SNAPSHOT.jar gc2.log SIMPLE.csv SIMPLE.png -t SIMPLE
java -jar gcviewer-1.35-SNAPSHOT.jar gc2.log SUMMARY.csv SUMMARY.png -t SUMMARY