[Iftop-users] Simple text output

Philippe Faure philippe at faure.ca
Mon Nov 23 01:49:39 GMT 2015


Hello Frédéric,

I had a look at iftop and the -t option doesn't exist. Well at least  
in the version that I have installed.

I am running Ubuntu 14.04 LTS.  Which is limited to iftop 1.0~pre2.5.

Once I have first figured out how to update to the newer version of  
iftop without changing from the current LTS configuration, I will give  
the "-t" option a try.

Thank you

Philippe




Quoting Frédéric Perrin <fred at fperrin.net>:

> Hello Philippe,
>
> On 22/11/2015 14:35, philippe at faure.ca wrote:
>> Hello,
>>
>> I am looking to find a way to record data usage from a specific device
>> on my network. Ideally the out out would be a text file with the total
>> usage. Is there a way to have iftop run in the background and have it
>> update a file.
>
> Does the -t option to iftop do what you want? You would redirect the
> output to a log file or pipe it to a script.
>
>> If not, is there another utility that people know about the might be
>> able to help me?
>
> Another solution if you're trying to do traffic accounting is  
> something like net-acct. On a students' network, we used to log  
> something like
> (timestamp, source IP & port, destination IP & port, volume), and then
> use this to hunt bandwidth hogs.
>
> Cheers,
> Fred.






More information about the iftop-users mailing list