----- Original Message ----- > From: "Balbir Singh" <bsinghar...@gmail.com> > To: "Ivana Varekova" <varek...@redhat.com> > Cc: libcg-devel@lists.sourceforge.net > Sent: Thursday, October 4, 2012 4:32:57 AM > Subject: Re: [Libcg-devel] [PATCH] cgroup_change_cgroup_flags: create control > template group on the fly > > > Hello, > > no the behaviour is the same as cgconfig.conf. The group is created > > using cgroup_create_cgroup function. > > That means parameters are not taken from /people/students but they > > are empty (see conversation > > http://sourceforge.net/mailarchive/forum.php?thread_name=502209A3.70809%40redhat.com&forum_name=libcg-devel). > > In the next patch(es) I will add the possibility to set the values > > in cgconfig.conf file in the dame way as control groups. There > > will be new keyword - "template" instead of cgroup. > > > > Ivana > > Why not create a group called "default" or "template" (don't create > this in cgroup fs) in cgconfig.conf and use that as the template? Or > do you need one template per hierarchy? > > Balbir
Hello, the idea is to have a possibility to have "template" group(s) (eg. a/b/%u), their variable can be set using cgconfig,conf (there will be tag "template a/b/%u { ... }") and whole "templates groups" e.g. a/b/peter, a/b/jan will have variables set by cgconfig.conf template a/b/%u. If there is another template a/b/c/%u then it cen be set in cgconfig.conf as well. The patches for cgconfig.conf are not set to list yet. I hope I answer the question properly. Ivana > ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev _______________________________________________ Libcg-devel mailing list Libcg-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libcg-devel