[Iftop-users] Logging to file

Andy J Wolin andywolin at gmail.com
Mon, 28 Sep 2009 07:26:03 -0600


--0016e646916a51f9150474a33df2
Content-Type: text/plain; charset=ISO-8859-1

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
>

--0016e646916a51f9150474a33df2
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

I was very interested in this option as well (which is why I am on this lis=
t).=A0 I was not able to find a good solution with iftop but I did find ano=
ther utility called &#39;bwm-ng&#39; that has an output to csv option which=
 suited my needs.<br>
<br><a href=3D"http://www.gropp.org/?id=3Dprojects&amp;sub=3Dbwm-ng">http:/=
/www.gropp.org/?id=3Dprojects&amp;sub=3Dbwm-ng</a><br><br>Here is an exampl=
e of how I used it:<br><br>bwm-ng --count 0 -o csv -I eth0 -T rate -u bytes=
 -t 1000 &gt; yourfile.csv<br>
<br>Thanks,<br>Andy<br><br><div class=3D"gmail_quote">On Sun, Sep 27, 2009 =
at 11:03 AM, Roman Weidlich <span dir=3D"ltr">&lt;<a href=3D"mailto:roman.w=
eidlich@univie.ac.at">roman.weidlich@univie.ac.at</a>&gt;</span> wrote:<br>=
<blockquote class=3D"gmail_quote" style=3D"border-left: 1px solid rgb(204, =
204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br>
<br>
is it possible to log to a file?<br>
<br>
iftop &gt; mylog.txt<br>
<br>
produces a file, but containing lo senseful data.<br>
<br>
Roman<br>
<br>
_______________________________________________<br>
iftop-users mailing list<br>
<a href=3D"mailto:iftop-users@lists.beasts.org" target=3D"_blank">iftop-use=
rs@lists.beasts.org</a><br>
<a href=3D"http://lists.beasts.org/mailman/listinfo/iftop-users" target=3D"=
_blank">http://lists.beasts.org/mailman/listinfo/iftop-users</a><br>
</blockquote></div><br>

--0016e646916a51f9150474a33df2--