Sorry for delay, simple testcase:
sudo cgcreate -g memory:/ sudo cgcreate -g memory:/test echo "`whoami`:python2.7 memory test/" | sudo tee -a /etc/cgrules.conf /usr/bin/env python -c "import time; time.sleep(2)" & export PID=$! sudo cgclassify $PID grep $PID /sys/fs/cgroup/memory/{,*/}cgroup.procs
In case of fixed libcgroup output will be something like >/sys/fs/cgroup/memory/test/cgroup.procs:5778
Right now it is >Error in determining process name of pid 2042 >/sys/fs/cgroup/memory/sysdefault/cgroup.procs:2042
Sorry for delay, simple testcase:
sudo cgcreate -g memory:/ cgroup/ memory/ {,*/}cgroup. procs
sudo cgcreate -g memory:/test
echo "`whoami`:python2.7 memory test/" | sudo tee -a /etc/cgrules.conf
/usr/bin/env python -c "import time; time.sleep(2)" &
export PID=$!
sudo cgclassify $PID
grep $PID /sys/fs/
In case of fixed libcgroup output will be something like cgroup/ memory/ test/cgroup. procs:5778
>/sys/fs/
Right now it is cgroup/ memory/ sysdefault/ cgroup. procs:2042
>Error in determining process name of pid 2042
>/sys/fs/