[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1380056549.3165.117.camel@edumazet-glaptop>
Date: Tue, 24 Sep 2013 14:02:29 -0700
From: Eric Dumazet <eric.dumazet@...il.com>
To: Matthew Hall <mh@...omputing.net>
Cc: Stephen Hemminger <stephen@...workplumber.org>,
netdev@...r.kernel.org
Subject: Re: per-PID network stats files in /proc
On Tue, 2013-09-24 at 13:44 -0700, Matthew Hall wrote:
> On Tue, Sep 24, 2013 at 01:41:57PM -0700, Stephen Hemminger wrote:
> > No. because most of these would be associated with global state.
> > Even sockets can be shared between PID's.
>
> OK. So if this is true, then I feel compelled to ask, why does
> /proc/PID/net/snmp exist in the first place, if it would never really work?
That because of network containers
You can perfectly use a network container to get your own copy of
counters
ip netns help
--
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