network accounting by process

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <linux-kernel@...>
Date: Friday, August 15, 2008 - 7:44 pm

Hello,

Recently I've discovered the IO Accounting (I mean, /proc/PID/io).
It's very interesting, specially together with iotop (thanks!)

I wonder: is there something in the proc fs similar for network? How
much bytes the _process_ are receiving/sending just now? I've checked
and I haven't found.

If there isn't any wat to get this information: is there any technical
problem to not have it? It looks like it would be possible to add
something similar in ipv4 level (net/ipv4/af_inet.c for example).

Thank you,

-- 
Carles Pina i Estany		GPG id: 0x17756391
	http://pinux.info
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
network accounting by process, Carles Pina i Estany, (Fri Aug 15, 7:44 pm)
Re: network accounting by process, Carles Pina i Estany, (Fri Aug 15, 7:51 pm)