Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

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

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 bin
Octocat-spinner-32 dist
Octocat-spinner-32 lib
Octocat-spinner-32 test
Octocat-spinner-32 vendor
Octocat-spinner-32 .gitignore
Octocat-spinner-32 History.txt
Octocat-spinner-32 Manifest.txt
Octocat-spinner-32 README
Octocat-spinner-32 README.txt
Octocat-spinner-32 Rakefile
Octocat-spinner-32 TODO
Octocat-spinner-32 config.yaml
README
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.example in a text editor, and tweak to your liking. Save to *.yaml.
  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:
  ./gl_tail.rb --help
  ./gl_tail.rb <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.

Versions tested:
  rubygems    0.9.4
  ruby-opengl 0.40.1
  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 -y net-ssh ruby-opengl -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 -y net-ssh ruby-opengl -r

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

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

  (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)

Something went wrong with that request. Please try again.