Skip to content

krisachai/GCWebViewer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GCWebViewer

Copyright 2013 Krisa Chaijaroen under LGPL License (Please see included LICENSE)

Web Interface for GCViewer built on standard Java EE 5. Work best on Google Chrome Webkit Engine & IE10. Feature

  • Support both local file systems and remote GC log file via SSH (Tested on RHEL 5)
  • Search for latest GC log file by default if destination is a directory (Both local and remote). Filename must contains "gc".
  • Automatically update GC data (Configurable)
  • Easy (but not safe) configuration via YAML, no database required.
  • Blazing fast & Interactive web interface thanks to Dygraphs
  • Show GC timeline in Date & Time unit.
  • Export GC graph as PNG thanks to dygraphs-export
  • Simple HTTP API

Limitation

  • Support only Young, Tenured, Heap utilization and GC Time. (Can't show full gc, yet)

How to Build

How to Use

  • edit included sources.yml and copy it to folder $user.home/conf/gcweb/ (eg. /usr/home/jbossusr/conf/gcweb, c:\user\owner\conf)
  • [optional] copy or edit log4j_conf.xml and put it into the same folder as sources.yml
  • deploy GCWebViewer.war to Java EE 5 application server (Tested on Weblogic 10.3.5 and Jboss AS 7.1 with JDK 7)

Performance

I have tuned this thing to an acceptable level with limited number of GC logs. UX should always fast as every gc log data is cached. Mainly, performance depends on how big your GC log is and a number/speed of cpu core your server has. If refresh rate is fast, you might need to adjust Quartz thread pool to have a higher number of thread. Tips, don't trigger 'ssh type' gc log, too much, at the same time to prevent ssh timeout (3 seconds to locate target gc log).

Wish List

  • Faster string processing, from parsed GC events to CSV. Now it took around 2-3 seconds to convert ~8,000 events to CSV.
  • Full GC support.

License

GCWebViewer uses

About

Web Interface for GCViewer

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published