ServState

Very simple tool to watch your LINUX server status. Demo page

Gem Version Build Status Coverage Status

Installation

$ gem install ServState

Requirements

  • Ruby 1.9.3 or greater
  • ip util

Tested on

  • Debian 7
  • Ubuntu server 10.04
  • Ubuntu server 12.04
  • Ubuntu server 13.10
  • CentOS 6
  • Fedora 19

Usage

Defaults: port is 8080 without password

Default:

$ servstate

Set port:

$ servstate -port 8081

Set password:

$ servstate -pass mypass

Also you can write code like this:

  require 'ServState'

  ServState.run do
    port 8081
    password 'qwerty'
  end

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request