On Fri, Oct 11, 2013 at 2:42 AM, Ivana Varekova <varek...@redhat.com> wrote: > > > ----- Original Message ----- >> From: "Peter Schiffer" <pschi...@redhat.com> >> To: libcg-devel@lists.sourceforge.net >> Sent: Tuesday, October 8, 2013 7:17:48 PM >> Subject: [Libcg-devel] [PATCH 2/2] Template expanding to process name does >> not work >> >> %p template doesn't work, because it's expanding to the full path of binary >> file. With this patch, %p template is expanded to the base name of binary >> file. > > Hello, > I don't like the fact binaries which has different path and are called using > the full path ar eput to the same cgroup. > Dhaval please what is your opinion regarding this patch? > Ivana
I recall a similar discussion a while back, where I was trying to figure out a corner case. I don't like this idea. Now we could probably add additional options, but I am not convinced that we want to additional complexity yet. (One not thought through idea would be to somehow have different rules for something coming via $PATH. (so, if ls is in $PATH, then we will change the process name to relevant ls) Dhaval ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk _______________________________________________ Libcg-devel mailing list Libcg-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libcg-devel