Traffic Monitor
version 0.0.4 gem help you analysis traffic per ip with port
Installation
Add this line to your application's Gemfile:
gem 'trafficmonitor'
And then execute:
$ bundle
Or install it yourself as:
$ gem install trafficmonitor
Usage
require 'trafficmonitor'
puts Trafficmonitor::VERSION
puts Trafficmonitor::Iftop.connections 'eth0'
Contributing
- Fork it ( https://github.com/[my-github-username]/traffic-monitor/fork )
- 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 a new Pull Request