On 03/20/2011 05:19 AM, Francois-Xavier Bourlet wrote: > Hi, > > lxc_cgroup_path_get currently cache the cgroup mount point plus the > container name at the same time, making every call of the function > returning the same value. > It mean that actually every call to lxc_cgroup_get with a different > container name will in fact use the same container name as used for > the primary call. > > I join a patch to fix that, still doing some caching, but only caching > the cgroup moint point this time. This patch actually work for me, as > I am using the liblxc for retrieving statistics about all running > containers, using lxc_cgroup_get to retrieve every interesting values.
Applied Thanks -- Daniel ------------------------------------------------------------------------------ Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar _______________________________________________ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel