From: Linus Walleij <linus.ml.walleij@gmail.com>
To: Robert de Bath <robert$@debath.co.uk>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [RFC/RFT PATCH v3] sched: automated per tty task groups ... ps jaxk sid ... You are using the wrong number.
Date: Sat, 20 Nov 2010 02:13:13 +0100 [thread overview]
Message-ID: <AANLkTinF7BtYJwowfke+q0qjaXUc19EYRioAORU7YSAd@mail.gmail.com> (raw)
In-Reply-To: <Pine.LNX.4.61.1011190750500.8468@mayday.local>
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
next prev parent reply other threads:[~2010-11-20 1:13 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-19 8:22 Robert de Bath
2010-11-20 1:13 ` Linus Walleij [this message]
2010-11-20 13:11 ` Robert de Bath
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=AANLkTinF7BtYJwowfke+q0qjaXUc19EYRioAORU7YSAd@mail.gmail.com \
--to=linus.ml.walleij@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=robert$@debath.co.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®