[wellylug] Which application is hogging the pipe?
Grant McLean
grant at mclean.net.nz
Wed Nov 23 09:18:10 NZDT 2005
On Wed, 2005-11-23 at 08:58 +1300, Cliff Pratt wrote:
> Hong Chyr wrote:
> > Hi all
> >
> > Any way to find out which application is taking up most of a DSL
> > download bandwidth?
> >
> Well, a bit more information would be nice. For instance, one answer
> would be to shut down your client systems one by one until the offending
> computer is identified, then look at what that machine is doing. If you
> only have one machine, that answer is obviously wrong, but you give NO
> information, so it is hard to help.
Even in the absence of more information, your technique could be adapted
for a single machine. Start by running this command (ideally as root):
netstat --inet -p
This will list all IP sockets in use except the ones which are just
listening. The -p option tells netstat to include the process ID and
name in the output.
If it's not obvious from looking at the command output which process is
likely to be chewing bandwidth, you have the process ID's, so kill them
one at a time until the bandwidth usage drops.
Cheers
Grant
More information about the wellylug
mailing list