pcp
[Top] [All Lists]

Re: [pcp] Query network metrics within network namespace

To: Marc Ma <mamarc@xxxxxxxxxx>
Subject: Re: [pcp] Query network metrics within network namespace
From: Nathan Scott <nathans@xxxxxxxxxx>
Date: Mon, 10 Aug 2015 21:45:35 -0400 (EDT)
Cc: pcp@xxxxxxxxxxx
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <2A62CEF6-0106-4C19-B5DB-EFCBDE3C7F9A@xxxxxxxxxx>
References: <2A62CEF6-0106-4C19-B5DB-EFCBDE3C7F9A@xxxxxxxxxx>
Reply-to: Nathan Scott <nathans@xxxxxxxxxx>
Thread-index: AQHQ080uEk2iVEXyjkSkCd/D027EJM/yi+pj
Thread-topic: [pcp] Query network metrics within network namespace
Hi Marc,

----- Original Message -----
> Hello All,
> 
> Using PCP, Is there a way to query network interface metrics within a network
> namespace? Similar to this command âip netns exec my_namespace ifconfigâ.
> 

There is - it's described here:  http://pcp.io/docs/lab.containers.html

e.g. the "pmprobe --container ..." commands in the first example involve net
namespace switching to extract the network interface names (and values) from
within a running containers network namespace.

cheers.

--
Nathan

<Prev in Thread] Current Thread [Next in Thread>