I was very interested in this option as well (which is why I am on this list).  I was not able to find a good solution with iftop but I did find another utility called 'bwm-ng' that has an output to csv option which suited my needs.

http://www.gropp.org/?id=projects&sub=bwm-ng

Here is an example of how I used it:

bwm-ng --count 0 -o csv -I eth0 -T rate -u bytes -t 1000 > yourfile.csv

Thanks,
Andy

On Sun, Sep 27, 2009 at 11:03 AM, Roman Weidlich <roman.weidlich@univie.ac.at> wrote:
Hi,

is it possible to log to a file?

iftop > mylog.txt

produces a file, but containing lo senseful data.

Roman

_______________________________________________
iftop-users mailing list
iftop-users@lists.beasts.org
http://lists.beasts.org/mailman/listinfo/iftop-users