Coder Social home page Coder Social logo

gcwebviewer's Introduction

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

gcwebviewer's People

Contributors

krisachai avatar

Stargazers

Junlapong L. avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.