ServState
Very simple tool to watch your LINUX server status. Demo page
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
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request