[Iftop-users] need help with iftop-dump

sky.meng sky.meng at lifewood.com
Mon, 24 Nov 2008 10:08:49 +0800


<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
no manual entry for iftop-dump,and how does it to capture bandwidth
information to a file?<br>
<br>
I put this command direct:<br>
<small>test@test:~/test/iftop$ sudo ./iftop-dump<br>
[sudo] password for test: <br>
interface: eth0<br>
IP address is: 172.25.25.212<br>
MAC address is: 00:22:19:04:ce:49<br>
netfilter option must be specified for iftop-dump<br>
Could not open log file: No such file or directorySegmentation fault<br>
<br>
<big>so I create the log file&nbsp; folder</big> "mkdir /var/bandwidth"<br>
<big>&nbsp;and put command like this:</big><br>
sudo ./fitop-dump -F 192.168.0.1/32<br>
<br>
<big>now it's working, the log file bw-xxx have 4 column &#12290;I think the 1
column is the time 2 column is the IP address ,but 3 and 4 column is 0.
Although monitors IP in fact to have big traffic .<br>
so it cannot record the data which I want .<br>
<br>
where has made the mistake &#65311;</big><br>
<br>
</small>
<pre class="moz-signature" cols="72">-- 
Best Regards
Sky Meng

Network Engineer
Lifewood Data Technology Limited

Fax:+8676986718668
Mobile:+8676921378536
SkypeID:sky.lifewood.com
Website: <a class="moz-txt-link-abbreviated" href="http://www.lifewood.com">www.lifewood.com</a>

 
</pre>
</body>
<br />-- 
<br />This message has been scanned for viruses and
<br />dangerous content by
<a href="http://www.mailscanner.info/"><b>MailScanner</b></a>, and is
<br />believed to be clean.
</html>