public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* network accounting by process
@ 2008-08-15 23:44 Carles Pina i Estany
  2008-08-15 23:51 ` Carles Pina i Estany
  0 siblings, 1 reply; 2+ messages in thread
From: Carles Pina i Estany @ 2008-08-15 23:44 UTC (permalink / raw)
  To: linux-kernel


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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: network accounting by process
  2008-08-15 23:44 network accounting by process Carles Pina i Estany
@ 2008-08-15 23:51 ` Carles Pina i Estany
  0 siblings, 0 replies; 2+ messages in thread
From: Carles Pina i Estany @ 2008-08-15 23:51 UTC (permalink / raw)
  To: linux-kernel


Hi,

On Aug/16/2008, Carles Pina i Estany wrote:

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

Ops!

>From this webpage: http://lkml.org/lkml/2008/4/2/60

This is already done:
http://lkml.org/lkml/2008/4/2/60

Looks like a patch for 2.6.24.4, I will do some tests. Looks like from
April, so maybe there is more news in the list. I will check it.

-- 
Carles Pina i Estany		GPG id: 0x17756391
	http://pinux.info

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-08-16  0:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-15 23:44 network accounting by process Carles Pina i Estany
2008-08-15 23:51 ` Carles Pina i Estany

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox