systemctl: show main and control PID explicitly in cgroup-show
authorLennart Poettering <lennart@poettering.net>
Mon, 16 Apr 2012 16:56:18 +0000 (18:56 +0200)
committerLennart Poettering <lennart@poettering.net>
Mon, 16 Apr 2012 16:59:40 +0000 (18:59 +0200)
commitb69d29ce049f12d463a589e18561dd10ee8c09f1
tree8990e2d696fd91de9886c0d60bc41ba98a299e2f
parent888c7102355af1450aa26253d60cc2cb46eeb71d
systemctl: show main and control PID explicitly in cgroup-show

In some cases the main/control PID of a service can be outside of the
services cgroups (for example, if logind readjusts the processes'
cgroup). In order to clarify this for the user show the main/control PID
in the cgroup tree nonetheless, but mark them specially.
TODO
src/login/loginctl.c
src/login/logind-session-dbus.c
src/login/logind-user-dbus.c
src/shared/cgroup-show.c
src/shared/cgroup-show.h
src/shared/cgroup-util.c
src/systemctl/systemctl.c