Messages in this thread | | | Date | Sat, 20 Nov 2010 02:13:13 +0100 | Subject | Re: [RFC/RFT PATCH v3] sched: automated per tty task groups ... ps jaxk sid ... You are using the wrong number. | From | Linus Walleij <> |
| |
2010/11/19 Robert de Bath <robert$@debath.co.uk>:
> Using the SID solves the "all GUI programs are in the same group" problem > but still keeps "make -j99" in one group and different [a-z]terms in > different groups. What's more setsid(1) and setsid(2) make userspace > control really easy.
I grouped all the processes on my system but a few into per-session control groups by a quick python hack into CGFreak. It looks very funny atleast, I never spawned so many groups before: http://www.df.lth.se/~triad/sidgroups/
The big circle in the middle shows the cgroups alottment, the satellites show the processes inside each cgroup. The number on the perimeter is the SID.
Yours, Linus Walleij
| |