All Projects → zamblauskas → jstatplot

zamblauskas / jstatplot

Licence: MIT license
Visualize `jstat -gc` results.

Programming Languages

scala
5932 projects

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
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].