Hi, Ok, If I wnat to serch the bandwidth usage for a Ip 192.168.0.36 which accessing youtube.com, then How I look that, How much bandwidth this user has used. Also in this tree figure which figure stands for which value . 92.5Kb 31.2Kb 7.79Kb
Regards, Nandkishor
--- On Fri, 7/4/08, Revellion revellion@gmail.com wrote:
From: Revellion revellion@gmail.com Subject: Re: [Iftop-users] If top help To: jadenandkishor@yahoo.com Date: Friday, July 4, 2008, 5:12 PM the statistics can't really be redirected. since iftop reads the traffic using libpcap and displays the usage for a certain timeframe by taking samples of it.
only way you could get something like that is to use tcpdump and dump the whole traffic stream which can be huge with much traffic. and therefore not very practical. iftop is like top in that aspect. you can "watch/monitor" but it cant save the stats to files to be used later in presentation/display.
you'd have to use a different way to get BW stats for that user. maybe consider iptables and it's counters?
like iptables -A FORWARD -s 192.168.0.36 -j ACCEPT for outgoing and iptables -A FORWARD -d 192.168.0.36 -j ACCEPT for ingoing
then check the stats using iptables -L FORWARD -v Maybe do a script that reads the counter periodically and records the value to a file
On Fri, Jul 4, 2008 at 6:56 AM, Mr nandkishor jade jadenandkishor@yahoo.com wrote:
Hi, How I redirect the output of this ittop
to any file for a
shecifice host. If we run iftop command then we swa
the 5 feilds output
first & second shows the IP address of source
& destinations. But what is
the 3,4 & 5 colloumns stand for. for example.
203.199.83.171 => 192.168.0.36 92.5Kb
31.2Kb 7.79Kb
Also If I wnat to send the bandwidth
history of IP
192.168.0.36 to another file for browsing later then,
What command I run.
Regards, Nandkishor Jade +91-9969062597
--- On Thu, 7/3/08, Revellion
revellion@gmail.com wrote:
From: Revellion revellion@gmail.com Subject: Re: [Iftop-users] If top help To: jadenandkishor@yahoo.com Date: Thursday, July 3, 2008, 6:42 PM simple. just use a filter :P, host 192.168.0.2
On Thu, Jul 3, 2008 at 1:54 PM, Mr nandkishor
jade
jadenandkishor@yahoo.com wrote:
Hi, I have installe dthe iftop. If user
A
(192.168.0.2) using the
youtube.com & looking some videows then,
How I see
in iftop command how
much bandwidth is utilised by user A for
using the
youtube.com.
And also how I redirect this output
to othr
fiel for looking the
later.
Regards, Nandkishor
iftop-users mailing list iftop-users@lists.beasts.org
http://lists.beasts.org/mailman/listinfo/iftop-users
On 4 Jul 2008, at 12:52, Mr nandkishor jade wrote:
Hi, Ok, If I wnat to serch the bandwidth usage for a Ip 192.168.0.36 which accessing youtube.com, then How I look that, How much bandwidth this user has used. Also in this tree figure which figure stands for which value . 92.5Kb 31.2Kb 7.79Kb
This is documented in the man page.
If anyone is interested in using iftop to capture bandwidth information to a file, take a look at iftop-dump in CVS. It's a bit of a hack, and won't be making it into the distributions until it's tidied up. Patches welcomed :-)
Paul
--- On Fri, 7/4/08, Revellion revellion@gmail.com wrote:
From: Revellion revellion@gmail.com Subject: Re: [Iftop-users] If top help To: jadenandkishor@yahoo.com Date: Friday, July 4, 2008, 5:12 PM the statistics can't really be redirected. since iftop reads the traffic using libpcap and displays the usage for a certain timeframe by taking samples of it.
only way you could get something like that is to use tcpdump and dump the whole traffic stream which can be huge with much traffic. and therefore not very practical. iftop is like top in that aspect. you can "watch/monitor" but it cant save the stats to files to be used later in presentation/display.
you'd have to use a different way to get BW stats for that user. maybe consider iptables and it's counters?
like iptables -A FORWARD -s 192.168.0.36 -j ACCEPT for outgoing and iptables -A FORWARD -d 192.168.0.36 -j ACCEPT for ingoing
then check the stats using iptables -L FORWARD -v Maybe do a script that reads the counter periodically and records the value to a file
On Fri, Jul 4, 2008 at 6:56 AM, Mr nandkishor jade jadenandkishor@yahoo.com wrote:
Hi, How I redirect the output of this ittop
to any file for a
shecifice host. If we run iftop command then we swa
the 5 feilds output
first & second shows the IP address of source
& destinations. But what is
the 3,4 & 5 colloumns stand for. for example.
203.199.83.171 => 192.168.0.36 92.5Kb
31.2Kb 7.79Kb
Also If I wnat to send the bandwidth
history of IP
192.168.0.36 to another file for browsing later then,
What command I run.
Regards, Nandkishor Jade +91-9969062597
--- On Thu, 7/3/08, Revellion
revellion@gmail.com wrote:
From: Revellion revellion@gmail.com Subject: Re: [Iftop-users] If top help To: jadenandkishor@yahoo.com Date: Thursday, July 3, 2008, 6:42 PM simple. just use a filter :P, host 192.168.0.2
On Thu, Jul 3, 2008 at 1:54 PM, Mr nandkishor
jade
jadenandkishor@yahoo.com wrote:
Hi, I have installe dthe iftop. If user
A
(192.168.0.2) using the
youtube.com & looking some videows then,
How I see
in iftop command how
much bandwidth is utilised by user A for
using the
youtube.com.
And also how I redirect this output
to othr
fiel for looking the
later.
Regards, Nandkishor
iftop-users mailing list iftop-users@lists.beasts.org
http://lists.beasts.org/mailman/listinfo/iftop-users
iftop-users mailing list iftop-users@lists.beasts.org http://lists.beasts.org/mailman/listinfo/iftop-users