----- Original Message -----
> From: "Mike Frysinger" <[email protected]>
> To: "Peng Haitao" <[email protected]>
> Cc: "Cyril Hrubis" <[email protected]>, "Garrett Cooper" <[email protected]>, 
> "Jan Stancek" <[email protected]>,
> "LTP List" <[email protected]>
> 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

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to