Mailing List Archive

Need tool to show why network is slow.
I use IMAPS to get my mail from work. Sometimes my mail (read: server) is
just unbearably slow. I know it's b/c the network is bogged down. I want to
know quickly what is taking up my bandwidth (and ideally even terminate the
transfer).

Currently I narrow it down by using 'iptraf' and viewing the ports and then
try to deduce what exactly is ftping or sshing or httping up/down through a
combination of 'du' (to see the directory size grow in certain suspect
dirs), or /server-status to see if a web request is causing it, or other
trial/error.

Typically it's people downloading my friend's band's mp3 files (I host his
domain), but it could be a large email attachment or any number of other
bandwidth intensive tasks.

It would be great if there was a tool (preferably web front end, but CLI is
fine too). That I could look at, and see, oh, your bandwith is taken up by
this port, since this time, downloading/uploading this file, to/from this
remote IP, using FTP/HTTP/SCP, etc...

I want a summary of the useful info in one go. Does such a thing exist? I'd
be quite shocked to think that I'm the first person with a need for such a
tool...


http://daevid.com


--
gentoo-user@gentoo.org mailing list
Re: Need tool to show why network is slow. [ In reply to ]
Daevid Vincent wrote:
> I use IMAPS to get my mail from work. Sometimes my mail (read: server) is
> just unbearably slow. I know it's b/c the network is bogged down. I want to
> know quickly what is taking up my bandwidth (and ideally even terminate the
> transfer).
>
> Currently I narrow it down by using 'iptraf' and viewing the ports and then
> try to deduce what exactly is ftping or sshing or httping up/down through a
> combination of 'du' (to see the directory size grow in certain suspect
> dirs), or /server-status to see if a web request is causing it, or other
> trial/error.
>
> Typically it's people downloading my friend's band's mp3 files (I host his
> domain), but it could be a large email attachment or any number of other
> bandwidth intensive tasks.
>
> It would be great if there was a tool (preferably web front end, but CLI is
> fine too). That I could look at, and see, oh, your bandwith is taken up by
> this port, since this time, downloading/uploading this file, to/from this
> remote IP, using FTP/HTTP/SCP, etc...
>
> I want a summary of the useful info in one go. Does such a thing exist? I'd
> be quite shocked to think that I'm the first person with a need for such a
> tool...
>
>
> http://daevid.com
>
>
> --
> gentoo-user@gentoo.org mailing list
>
>
>
>

Terminating a transfer sounds so ... ms-ish ... why not prioritize
bandwidth alocation? You can allocate yourself 75%to100% of the traffic
and 25%to100% to your friend's mp3 thingie. I'm no expert and I was able
to do something similar.
Have a look at htbinit. Word of advice: don't use the
/etc/init.t/htbinit script, but rather the htbinit tool; personally i
deleted the script to prevent running it accidentally. But that's just me.


--

Adi

--
gentoo-user@gentoo.org mailing list
Re: Need tool to show why network is slow. [ In reply to ]
Daevid Vincent wrote:

> I want a summary of the useful info in one go. Does such a thing exist? I'd
> be quite shocked to think that I'm the first person with a need for such a
> tool...

you want ntop.

emerge ntop

run it (in the background)

then point your browser to

http://computer:3000

then play with all the graphs and reports

Only do this on a computer that has sufficient blockage from the
bad-evil-hackers (ie firewall), as they could also point their browsers
to http://you.ip.dynamic.isp.com:3000 and see the same info.

of course, you could always read the man page for ntop and filter out
the baddies...

--
gentoo-user@gentoo.org mailing list
Re: Need tool to show why network is slow. [ In reply to ]
Billy wrote:
> Only do this on a computer that has sufficient blockage from the
> bad-evil-hackers (ie firewall), as they could also point their browsers
> to http://you.ip.dynamic.isp.com:3000 and see the same info.


U mean crackers?

--

Adi

--
gentoo-user@gentoo.org mailing list
Re: Need tool to show why network is slow. [ In reply to ]
>
> U mean crackers?
>
Ahh a fellow student of RMS :-P



--
Nothing dies faster than a new idea in a closed mind.

--
gentoo-user@gentoo.org mailing list
Re: Need tool to show why network is slow. [ In reply to ]
Adrian CAPDEFIER wrote:

>> bad-evil-hackers (ie firewall), as they could also point their
> U mean crackers?

When I see that word, I always think of Chef from Southpark referring to
the boys as his 'little crackers'.

--
gentoo-user@gentoo.org mailing list
Re: Need tool to show why network is slow. [ In reply to ]
On Thu, 30 Sep 2004 10:55:26 -0400, Billy <billy@gonoph.net> wrote:
> Adrian CAPDEFIER wrote:
>
> >> bad-evil-hackers (ie firewall), as they could also point their
> > U mean crackers?

I just pretend to not understand when people use "hackers" in the
hollywood movie sense... quite disconcerting for people when a
complete geek doesn't understand such a basic term. I think it has
quite a cool effect ;-).
Cheers
Antoine
Ps, anyone know why the idiots put the name "hackers 2" on a movie so
much better than the first one it hurts? The first one must have been
a flop... I just can't figure....

--
G System, The Evolving GUniverse - http://www.g-system.at

--
gentoo-user@gentoo.org mailing list