Coder Social home page Coder Social logo

rdalverny / gltail Goto Github PK

View Code? Open in Web Editor NEW

This project forked from fudge/gltail

0.0 2.0 0.0 677 KB

Real-time visualization of server traffic, events and statistics with Ruby, SSH and OpenGL

Home Page: http://www.fudgie.org

Shell 1.72% Ruby 98.28%

gltail's Introduction

glTail.rb - http://www.fudgie.org

I know, horrible code and global variables, and what not. But, it works,
and it's too fun to watch my servers traffic in real time to clean up
everything before releasing it.

Configuration:
  Open config.yaml in a text editor, and tweak to your liking. You might want to save the
  result to another file, and include that on the command line.
  Either include a password for each of your servers, or make sure your ssh-keys are
  correctly set up.

  If you need to specify a SSH key replace
    password: secret
  with
    keys: /path/to/key

Running:
  ./bin/gl_tail --help
  ./bin/gl_tail <config.yaml>

  You can also press 'f' while running to toggle the attempted frames per second. Or 'b'
  to change default blob type, and space to toggle bouncing.

  To enable fullscreen mode, press shift + f, or set fullscreen: true in the config section of your config.yaml.

Versions tested:
  rubygems    0.9.4
  opengl      0.7.0.pre1
  net-ssh     1.1.2

Installation instructions (Ubuntu/Debian):
  sudo apt-get install rubygems rake ruby1.8-dev libgl1-mesa-dev libglu1-mesa-dev libglut3-dev build-essential
  sudo gem install net-ssh opengl --pre -r

Installation instructions (Mandriva/RedHat):
  sudo urpmi ruby ruby-devel ruby-RubyGems ruby-rake
  sudo urpmi libmesagl1-devel libmesaglut3-devel ruby-rbogl
  sudo gem install net-ssh opengl --pre -r

Installation instructions (Mac OS/X):
  <install ruby & rubygems>
  sudo gem install net-ssh opengl --pre file-tail -r

Installation instructions (Windows):
  One-click Ruby installer from http://rubyforge.org/projects/rubyinstaller/
  Start RubyGems/RubyGems Package Manager
  gem install net-ssh opengl --pre

  (Make sure you've got accelerated OpenGL installed for your graphics card. Some drivers
  shipped with your version of Windows do not include this, and it can be installed by
  getting the latest drivers from your graphics card vendor)

gltail's People

Contributors

fudge avatar runeb avatar sigvei avatar dshimy avatar jormon avatar jim-p avatar anall avatar petersondrew avatar zedtux avatar jrgifford avatar jlsync avatar nofxx avatar makevoid avatar

Watchers

 avatar James Cloos 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.