When I do an ifconfig I see that my interfaces eth0 RX is about some Gigabytes, even I did not run any video or audio over the network nor do some peer to peer staff, please all I need is to identify which process consumes bandwidth, is there a tools that help to detect this.
Asked
Active
Viewed 89 times
-1
-
Those are running totals not current instantaneous totals. – hookenz May 26 '13 at 21:34
-
If you want to see where it's going at the moment, use ntop – hookenz May 26 '13 at 21:35
-
I know ntop, but I need a cli tool – Ali Mezgani May 26 '13 at 21:36
-
Ok, you could use nmon – hookenz May 26 '13 at 21:36
-
nmon can return which process or which socket consume a lot of bandwidth ?? – Ali Mezgani May 26 '13 at 21:38
-
I did not find any option in nmon that do that – Ali Mezgani May 26 '13 at 21:42
-
I found that through google. ok, it looks like it doesn't give a per process thing. Anyway, as I was saying the ipconfig is a number that keeps counting while the machine is on. If you want it to go back to zero... reboot. There is a network top equivalent for linux top but ntop seems to be web based... hmm... – hookenz May 26 '13 at 21:43
-
I don't need to go back to zero all I need is to trace from where come all this consummation of bandwidth from which socket or which process – Ali Mezgani May 26 '13 at 21:45
1 Answers
2
There is a tool named nethogs that is a Net top tool grouping bandwidth per process. and iftop tool that display bandwidth usage on an interface by host.
References

slm
- 7,615
- 16
- 56
- 76

Ali Mezgani
- 3,850
- 2
- 24
- 36