[
https://issues.apache.org/jira/browse/MESOS-1076?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13925543#comment-13925543
]
Archana kumari commented on MESOS-1076:
---------------------------------------
I found the namespace cgroups in
https://github.com/apache/mesos/blob/bcd4dc19e10c4b54b90fae713d14477b849147c2/src/linux/cgroups.hpp#L431
The stat function present here is present inside the namepace cgroups now, so I
need it to put it inside cpu and memory
namepace with the modifications pointed by you and also add a cpuacct namespace
in the file with a stat function to read the cpuacct.stat,
and then access stat in
https://github.com/apache/mesos/blob/master/src/slave/containerizer/isolators/cgroups/cpushare.cpp#L386
using the structure
cgroups::cpu::stat() and like wise..
Anyone please advice me if I am correct..
> Add namespacing to cgroups to enforce the expected structure in
> slave/containerizer/isolators/cgroups/cpushare.cpp
> --------------------------------------------------------------------------------------------------------------------
>
> Key: MESOS-1076
> URL: https://issues.apache.org/jira/browse/MESOS-1076
> Project: Mesos
> Issue Type: Improvement
> Components: general, slave
> Reporter: Archana kumari
> Original Estimate: 168h
> Remaining Estimate: 168h
>
> The point of the issue is to provide structural information from the cgroups
> API
--
This message was sent by Atlassian JIRA
(v6.2#6252)