From: Carles Pina i Estany <carles@pina.cat>
To: linux-kernel@vger.kernel.org
Subject: network accounting by process
Date: Sat, 16 Aug 2008 01:44:02 +0200 [thread overview]
Message-ID: <20080815234402.GA8445@pina.cat> (raw)
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
next reply other threads:[~2008-08-16 0:05 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-15 23:44 Carles Pina i Estany [this message]
2008-08-15 23:51 ` network accounting by process Carles Pina i Estany
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080815234402.GA8445@pina.cat \
--to=carles@pina.cat \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox