iftop - how to generate text file with its output?

Posted by mickula on Server Fault See other posts from Server Fault or by mickula
Published on 2012-04-14T14:35:38Z Indexed on 2012/04/14 17:31 UTC
Read the original article Hit count: 1350

Filed under:
|
|
|
|

iftop is great tool to view almost live bandwidth usage distinguished by source-ip source-port destination-ip destination port.

I'm using it to see which client's ip is using most bandwidth. Now I would like to store output somewhere.

iftop uses ncurses so

iftop > log.txt

does not work as expected, result file is not readable.

Is there any tool like this which can be used to pipe output to a text file?

Thanks for your replies.

© Server Fault or respective owner

Related posts about linux

Related posts about networking