On 2013/8/27 21:08, Dhaval Giani wrote: > On Tue, Aug 27, 2013 at 3:03 AM, Libo Chen <clbchenlibo.c...@huawei.com> > wrote: >> On 2013/8/27 13:18, Dhaval Giani wrote: >>> On Mon, Aug 26, 2013 at 10:23 PM, Libo Chen <clbchenlibo.c...@huawei.com> >>> wrote: >>>> On 2013/7/29 15:14, Libo Chen wrote: >>>>> >>>> >>>> Hi Ivana, >>>> >>>> what do you think about this patch ? >>>> >>>> >>>>> example cgrules.conf: >>>>> >>>>> root:/home/clb/test.sh cpu test >>>>> >>> >>> So what happens if I have >>> >>> dhaval:/home/dhaval/test.sh cpu test1 >> >> maybe I didn't fully understand your question, what`s the difference, >> diffent user root and dhaval? >> > > different user, different script, but same name, and different cgroup > to put in. (and both entries are in the config file).
ok > >> Anyway, they will not work. >> > > I am not sure I understand what you mean here. What will not work? 1. Log in as root #cd /home/clb/ #cgexec ./test.sh before patch: the task test.sh will not be attached to test and test1 after patch: the task test.sh will be attached to test not test1. 2. Log in as dhaval #cd /home/dhaval/ #cgexec ./test.sh before patch: the task test.sh will not be attached to test and test1. after patch: the task test.sh will be attached to test1 not test. > > Thanks! > Dhaval > > ------------------------------------------------------------------------------ Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk _______________________________________________ Libcg-devel mailing list Libcg-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libcg-devel