Skip to content

zamblauskas/jstatplot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

Visualize jstat -gc results.

Usage

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).

Runtime dependencies

GnuPlot must be available on your system.

Examples

Produce jstat result file:

/usr/bin/jstat -gc -t <pid> 1000 > jstat-result.txt

Create graphs:

jstatplot jstat-result.txt

Produced graphs:

Capacity

Utilization

GC events

GC time

Build it

Using SBT.

To create a local executable at jstatplot/target/universal/stage:

sbt stage

To create a distributable tgz package at jstatplot/target/universal:

sbt universal:package-zip-tarball

About

Visualize `jstat -gc` results.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages