aboutsummaryrefslogtreecommitdiff
path: root/src/cgls
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-11-10 00:37:19 +0100
committerLennart Poettering <lennart@poettering.net>2015-11-10 17:31:31 +0100
commitb1f044bbc45cc05049eed9c483a2d6bef73c0adc (patch)
treece321025b5cc6330c7887be3a24e2dd815c81c18 /src/cgls
parentcgls: suppress output of controller name, if it's the systemd one (diff)
downloadsystemd-b1f044bbc45cc05049eed9c483a2d6bef73c0adc.tar.gz
systemd-b1f044bbc45cc05049eed9c483a2d6bef73c0adc.tar.bz2
systemd-b1f044bbc45cc05049eed9c483a2d6bef73c0adc.zip
cgls: when showing root slice, put -.slice at top of tree
Diffstat (limited to 'src/cgls')
-rw-r--r--src/cgls/cgls.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cgls/cgls.c b/src/cgls/cgls.c
index a5a580438..22efc58ac 100644
--- a/src/cgls/cgls.c
+++ b/src/cgls/cgls.c
@@ -272,6 +272,7 @@ int main(int argc, char *argv[]) {
show_cg_info(SYSTEMD_CGROUP_CONTROLLER, root);
+ printf("-.slice\n");
r = show_cgroup(SYSTEMD_CGROUP_CONTROLLER, root, NULL, 0, arg_kernel_threads, output_flags);
}
}