trafficmonitor 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 687aaf5bc308457a0db644b5a8a971c3394b1a5b
4
- data.tar.gz: ce59b4cbb7e5638afc55bba7c62cac1b0b8403de
3
+ metadata.gz: 13f91065b941aac0be597b99e1604cd7268355ee
4
+ data.tar.gz: 23e5f52711c18ede4165bba3224f80e84d151b65
5
5
  SHA512:
6
- metadata.gz: bc297034a9f570940112b238823bec1b56203c0343ee95e69a40d716902feaebc8e3e489d8fb55dd93d6c29aebadfca498a5c7548b21ab060b9241ea807a83d8
7
- data.tar.gz: a4a8d8f275e92b3c0f704003591f9b92cb654d0c5692e5cd016e070183abe5c80dede7b45edd6731e3d4c65ba820ea41e9dc1f36ef2fa54511ebcf3ac08dc85d
6
+ metadata.gz: 1976cad404d6fa57451b56b350d2851d55aae7cd59233f7ec965c4c4e10948ab7b1d900edf73d79ec887f5d9cba6003b3aef6d447f52c4eb74995db2c5a83f5c
7
+ data.tar.gz: 626168677e0ecbbe61e3c0ccbff5f22dcc66e4977e7134a5137e942b36fdde9e09f4e3d222e6e8ca35a1c8e43af89d7ab690291a2372f2ee3abfeaab8f729ce1
data/README.md CHANGED
@@ -1,5 +1,5 @@
1
1
  # Traffic Monitor
2
- version 0.0.3
2
+ version 0.0.4
3
3
  gem help you analysis traffic per ip with port
4
4
 
5
5
  ## Installation
@@ -3,7 +3,7 @@ module Trafficmonitor
3
3
  require 'open3'
4
4
 
5
5
  def connections(interface, s = 2)
6
- command = 'sudo iftop -BPp -Nn -t -L 100 -s ' + s.to_s + ' -i ' + interface
6
+ command = 'sudo iftop -B -Nn -t -L 100 -s ' + s.to_s + ' -i ' + interface
7
7
 
8
8
  stdin, stdout, stderr = Open3.popen3(command)
9
9
  result = stdout.readlines
@@ -1,3 +1,3 @@
1
1
  module Trafficmonitor
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: trafficmonitor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shown Tien