lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Mon, 07 Apr 2014 19:25:44 +0200
From:	Daniel Borkmann <dborkman@...hat.com>
To:	Cong Wang <cwang@...pensource.com>
CC:	"Ken O'Brien" <ken@...obrien.org>,
	Network Development <netdev@...r.kernel.org>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: 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@...obrien.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
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists