[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <AANLkTinF7BtYJwowfke+q0qjaXUc19EYRioAORU7YSAd@mail.gmail.com>
Date: Sat, 20 Nov 2010 02:13:13 +0100
From: Linus Walleij <linus.ml.walleij@...il.com>
To: Robert de Bath <robert$@...ath.co.uk>
Cc: linux-kernel@...r.kernel.org
Subject: Re: [RFC/RFT PATCH v3] sched: automated per tty task groups ... ps
jaxk sid ... You are using the wrong number.
2010/11/19 Robert de Bath <robert$@...ath.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists