]> gitweb.fperrin.net Git - iftop.git/commitdiff
Do traffic accounting in pps
authorFrédéric Perrin <fperrin@brocade.com>
Tue, 31 Mar 2015 14:54:19 +0000 (15:54 +0100)
committerFrédéric Perrin <fperrin@brocade.com>
Sat, 11 Apr 2015 18:59:10 +0000 (19:59 +0100)
Add a "-u unit" CLI option, as well as a "bandwidth-unit" configuration file
option. With "-u packets", traffic is accounted using packets per second; the
other options are "-u bits" and "-u bytes".

"-B" is still recognized as synonym to "-u bytes".

The default is "-u bits", keeping the current behaviour of iftop (everything
is in bits/s, except the cumulative totals).


No differences found