38836535a9
"iftop does for network usage what top does for CPU usage. It listens to network traffic on a named interface and displays a table of current bandwidth usage by pairs of hosts."
12 lines
371 B
Ruby
12 lines
371 B
Ruby
require 'formula'
|
|
|
|
class Iftop <Formula
|
|
url 'http://www.ex-parrot.com/~pdw/iftop/download/iftop-0.17.tar.gz'
|
|
homepage 'http://www.ex-parrot.com/~pdw/iftop/'
|
|
md5 '062bc8fb3856580319857326e0b8752d'
|
|
|
|
def install
|
|
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking", "--mandir=#{man}"
|
|
system "make install"
|
|
end
|
|
end
|