On Thu, 2015-06-04 at 19:31 +0300, Andrei Borzenkov wrote: > В Thu, 04 Jun 2015 10:08:52 +0200 > Sébastien Luttringer <[email protected]> пишет: > It seems to work here using systemd 210 on openSUSE > > bor@opensuse:~/src/systemd> cat /sys/fs/cgroup/systemd/$(systemctl > show > [email protected] -p ControlGroup | cut -f2 -d=)/tasks > > bor@opensuse:~/src/systemd> systemctl show > [email protected] -p ControlGroup --no-pager > ControlGroup=/system.slice/system-systemd\ > x2drfkill.slice/[email protected] Could you try with serial-getty?
I don't know if it works with [email protected] because it 's a script which exits immediately, so control group quickly property is empty. In my test, it cat the tasks file in systemd directory. > > What's the right way to get all pid belonging to a service? How can > > I > > unescape strings from systemctl? > > > > Well, you can use systemd-escape -u, but real question is why it gets > escaped twice and is it intentional. Thanks, that helps! -- Sébastien "Seblu" Luttringer https://seblu.net | Twitter: @seblu42 GPG: 0x2072D77A
signature.asc
Description: This is a digitally signed message part
_______________________________________________ systemd-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/systemd-devel
