From: Jan S. <jst...@re...> - 2012-01-18 10:27:30
|
----- Original Message ----- > From: "Mike Frysinger" <va...@ge...> > To: "Peng Haitao" <pe...@cn...> > Cc: "Cyril Hrubis" <ch...@su...>, "Garrett Cooper" <yan...@gm...>, "Jan Stancek" <jst...@re...>, > "LTP List" <ltp...@li...> > Sent: Wednesday, January 18, 2012 11:09:17 AM > Subject: Re: [LTP] [PATCH v2 1/8] A library used to test memcg > > On Wednesday 18 January 2012 03:45:14 Peng Haitao wrote: > > +if [ "x$(grep -w memory /proc/cgroups | cut -f4)" != "x1" ]; then > > if [ "x$(grep -c memory /proc/cgroups)" != "x1" ]; then You can disable cgroup subsys with cgroup_disable= and it will still show up in /proc/cgroups. Regards, Jan |