Bug 1300403 - [RFE] systemd-cgls should show the cg hierarchy of a unit
Summary: [RFE] systemd-cgls should show the cg hierarchy of a unit
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: systemd
Version: 7.3
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Lukáš Nykrýn
QA Contact: qe-baseos-daemons
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-01-20 17:02 UTC by Fabian Deutsch
Modified: 2017-01-25 13:57 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-01-25 13:57:14 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Fabian Deutsch 2016-01-20 17:02:23 UTC
Currently systemd-cgls shows the complete hierarchy, it would be nice if it could take a unit and only show the hierarchy for that specific unit, i.e. the user.slice.

Comment 2 Lukáš Nykrýn 2016-01-21 08:32:46 UTC
For now you can call someting like this:

systemd-cgls /sys/fs/cgroup/systemd/$(systemctl show -p ControlGroup cups.service | sed 's/^.*=//')

Comment 3 Jan Synacek 2017-01-25 13:57:14 UTC
No point keeping this RFE downstream:

https://github.com/systemd/systemd/issues/5156


Note You need to log in before you can comment on or make changes to this bug.