[systemd-devel] Missing forked processes in 'systemctl status'
Lennart Poettering
lennart at poettering.net
Wed Aug 13 06:29:40 PDT 2014
On Mon, 11.08.14 13:22, Leonid Isaev (lisaev at umail.iu.edu) wrote:
> Hi,
>
> I am seeing an oddity in the CGroup output of systemctl status ran on
> some units. On the other hand, systemd-cgls shows correct information.
> Here is an example:
> ------
> $ systemctl status netctl at wan.service
> netctl at wan.service - DHCP connection on bond0
> Loaded: loaded (/etc/systemd/system/netctl at wan.service; enabled)
> Active: active (exited) since Mon 2014-08-11 11:51:05 EDT; 1h 20min ago
> Docs: man:netctl.profile(5)
> Process: 645 ExecStart=/usr/lib/network/network start %I (code=exited, status=0/SUCCESS)
> Main PID: 645 (code=exited, status=0/SUCCESS)
>
> $ systemctl status netctl at wlan.service
> netctl at wlan.service - Secure wireless uplink
> Loaded: loaded (/etc/systemd/system/netctl at wlan.service; enabled)
> Active: active (exited) since Mon 2014-08-11 11:50:58 EDT; 1h 16min ago
> Docs: man:netctl.profile(5)
> Process: 489 ExecStart=/usr/lib/network/network start %I (code=exited, status=0/SUCCESS)
> Main PID: 489 (code=exited, status=0/SUCCESS)
> CGroup: /system.slice/system-netctl.slice/netctl at wlan.service
> 501 wpa_supplicant -B -P /run/wpa_supplicant_wlp3s0.pid -i
> wlp3s..
When you use "systemctl -p ControlGroup show" on the two services, do
they both show valid cgroup paths?
What's the Type= of the units?
Lennart
--
Lennart Poettering, Red Hat
More information about the systemd-devel
mailing list