Skip to content

Nastel/tnt4j-stream-gc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

90 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tnt4j-stream-gc

Track and trace java GC behavior using JAVA JMX GC notifications.

Features:

  • GC metric collection from 1+ JVMs without profilers
    • Production, test environments
  • Measure GC performance, duration
  • Measure memory pools before and after GC cycles
  • Java Memory pool utilization
  • Help troubleshoot and tune java GC
  • Stream GC details to file, log4j
  • Stream to https://www.jkoolcloud.com for visual analysis

Running Stream-GC as javaagent:

java -javaagent:tnt4j-stream-gc.jar=myApplName -Dtnt4j.config=tnt4j.properties -classpath "lib/*" your.class.name your-args

Running Stream-GC as javaagent with JESL (streaming to jKoolCloud):

java -javaagent:tnt4j-stream-gc.jar=myApplName -Dtnt4j.config=tnt4j.properties -classpathlib/*" your.class.name your-args

Invoking Stream-GC within java app:

import org.tnt4j.stream.java.gc.GCTracker;

GCTracker.installTracker("myAppName"); // need to be called only once per JVM

Project Dependencies

Stream-GC requires the following:

Please use JCenter or Maven and dependencies will be downloaded automatically.