lkml.org 
[lkml]   [2014]   [Apr]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: proc net statistics
On 04/07/2014 07:19 PM, Cong Wang wrote:
> On Mon, Apr 7, 2014 at 10:10 AM, Ken O'Brien <ken@kenobrien.org> wrote:
>>
>> Ok, so then, is there a way to read per process network statistics in the proc filesystem?
>
> AFAIK, we only have per-socket and per-netdev statistics, there is no
> per-process one, you probably want to try cgroup, or put these processes
> into a namespace.

You can do that with cgroups, e.g. xt_cgroup. Samsung/Tizen OS seems to make
use of this ...

https://git.kernel.org/cgit/linux/kernel/git/davem/net.git/commit/?id=a00e76349f3564bb8129fc0510dfd93248c3084d


\
 
 \ /
  Last update: 2014-04-07 20:01    [W:0.026 / U:1.412 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site