On Thu, 2015-06-04 at 19:31 +0300, Andrei Borzenkov wrote:
> В Thu, 04 Jun 2015 10:08:52 +0200
> Sébastien Luttringer <se...@seblu.net> пишет:
> It seems to work here using systemd 210 on openSUSE
> 
> bor@opensuse:~/src/systemd> cat /sys/fs/cgroup/systemd/$(systemctl 
> show 
> systemd-rfkill@rfkill1.service -p ControlGroup | cut -f2 -d=)/tasks
> 
> bor@opensuse:~/src/systemd> systemctl show 
> systemd-rfkill@rfkill1.service -p ControlGroup --no-pager 
> ControlGroup=/system.slice/system-systemd\
> x2drfkill.slice/systemd-rfkill@rfkill1.service
Could you try with serial-getty?

I don't know if it works with systemd-rfkill@rfkill1.service 
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

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to