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 +4 -4
- data/README.md +1 -1
- data/lib/trafficmonitor/iftop.rb +1 -1
- data/lib/trafficmonitor/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 13f91065b941aac0be597b99e1604cd7268355ee
|
4
|
+
data.tar.gz: 23e5f52711c18ede4165bba3224f80e84d151b65
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1976cad404d6fa57451b56b350d2851d55aae7cd59233f7ec965c4c4e10948ab7b1d900edf73d79ec887f5d9cba6003b3aef6d447f52c4eb74995db2c5a83f5c
|
7
|
+
data.tar.gz: 626168677e0ecbbe61e3c0ccbff5f22dcc66e4977e7134a5137e942b36fdde9e09f4e3d222e6e8ca35a1c8e43af89d7ab690291a2372f2ee3abfeaab8f729ce1
|
data/README.md
CHANGED
data/lib/trafficmonitor/iftop.rb
CHANGED
@@ -3,7 +3,7 @@ module Trafficmonitor
|
|
3
3
|
require 'open3'
|
4
4
|
|
5
5
|
def connections(interface, s = 2)
|
6
|
-
command = 'sudo iftop -
|
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
|