is it possible to determine how much network traffic is caused by a particular process?



Hello:

I have multiple processes running on a single Linux 2.6.x based blade
server. I am able to determine the *total* amount of network traffic
in and out on an interface by a variety of means (including the
"sysstat" utilities http://pagesperso-orange.fr/sebastien.godard/ ),
but I can not find any means of determining per process network load.

Does anyone know if this is possible by any reasonable technique? The
"sysstat" author tells me that since the kernel does not expose any
per process network counters (via /proc system or otherwise) it is not
clear how one might do this.

How hard would it be to add the capability to expose per PID network
usage information?

G. Thaker
.



Relevant Pages

  • Is this possible ?
    ... What I want to do is limit the amount of printouts a user on our ... network can do. ... Now the server part is no problem but I cannot find ...
    (microsoft.public.vc.mfc)
  • Re: determine throughput from LAN to Internet, Durchsatz vom LAN ins Internet berechnen
    ... and internet. ... What i want to now is the amount of traffic ONLY from network to ... from network to server. ...
    (comp.os.linux.networking)
  • RE: SBS2003 Hardware
    ... server can do more work in the same amount of time, ... network is only as fast as it's slowest component. ... at the overall network picture such as client hardware and network ...
    (microsoft.public.windows.server.sbs)
  • Re: 50Mbps outbound traffic from Port 80
    ... to me that my server has unTsual outbound traffic from Port80. ... amount of outbound traffic to other servers on my network. ... Please help and advise me what the possible reason why the web server generate ...
    (microsoft.public.windows.server.networking)
  • Re: print over the internet?
    ... expose any locally-shared network resource ... What you want to do is create a "VPN tunnel" ... > I'm using the PCI router for network between all PCs, ...
    (microsoft.public.win2000.security)