LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Program that shows network usage for certain applications? (https://www.linuxquestions.org/questions/linux-software-2/program-that-shows-network-usage-for-certain-applications-601243/)

huxflux 11-20-2007 05:21 PM

Program that shows network usage for certain applications?
 
Hello!

Does anyone know a program for Linux which displays how much bandwidth each running application is consuming?

To get a better picture, here's a program that does exactly that, but on windows:

http://www.zefhemel.com/upload/netlimiter.jpg

soccerfiend 11-20-2007 06:45 PM

Can you be more specific
 
Do you want to merely see the traffic coming and going or do you want to be able to shape this traffic as well?

These are the utils I regularly use:
iftop
iptraf
wireshark/tcpdump/tcpflow/ettercap (various utils that can do more or less the same thing which is looking inside the packets themselves).

For shaping traffic I use tc, sometimes I will use iptables to help classify packets.

One thing to be aware of, is that these programs don't really tell you which application specifically is doing what. They base their guesses on the ports listed in /etc/services.

Also, there is not single program that looks like the equivalent of the one in your screen-capture. Instead, think of these apps as blocks of Lego that you can put together anyway you like. There may be more of a learning curve but I believe it to be worth it in the long run.

If you are interested in this sort of thing then I would recommend wandering on over to http://lartc.org

Hth,


All times are GMT -5. The time now is 09:09 AM.