Visualize jstat -gc results.
Usage: jstatplot [options] <file>...
<file>...
One or more of jstat result files.
-u <value> | --unit <value>
Size unit to display in graphs. Available values are [MB, GB].
-w <value> | --width <value>
Graph width
-h <value> | --height <value>
Graph height
-y <value> | --range-y <value>
Fix Y axis range upper value. By default max value in data will be used.
-s <value> | --skip <value>
Number of lines to skip before actual jstat result begins. You should use this option if you write any additional information at the beginning of jstat result file (e.g. start time, configuration parameters).GnuPlot must be available on your system.
Produce jstat result file:
/usr/bin/jstat -gc -t <pid> 1000 > jstat-result.txtCreate graphs:
jstatplot jstat-result.txtProduced graphs:
Using SBT.
To create a local executable at jstatplot/target/universal/stage:
sbt stageTo create a distributable tgz package at jstatplot/target/universal:
sbt universal:package-zip-tarball


