Debian Codegraph @

test/units/TEST-74-AUX-UTILS.cgls.sh

raw symbols SCIP
1 #!/usr/bin/envscip-shell filesystem . . `/usr/bin/env`. bash
2 # SPDX-License-Identifier: LGPL-2.1-or-later
3 set -eux
4 set -o pipefail
5
6 systemd-cgls
7 systemd-cgls --all --full
8 systemd-cgls -k
9 systemd-cgls --xattr=yes
10 systemd-cgls --xattr=no
11 systemd-cgls --cgroup-id=yes
12 systemd-cgls --cgroup-id=no
13
14 systemd-cgls /system.slice/systemd-journald.servicescip-shell filesystem . . `/system.slice/systemd-journald.service`.
15 systemd-cgls /system.slice/systemd-journald.servicescip-shell filesystem . . `/system.slice/systemd-journald.service`. /init.scopescip-shell filesystem . . `/init.scope`.
16 systemd-cgls /sys/fs/cgroup/system.slice/systemd-journald.servicescip-shell filesystem . . `/sys/fs/cgroup/system.slice/systemd-journald.service`. /init.scopescip-shell filesystem . . `/init.scope`.
17 [[ -d /sys/fs/cgroup/init.scope ]] && init_scope="init.scope" || init_scope="systemd/init.scope"
18 (cd "/sys/fs/cgroup/$init_scope" && systemd-cgls)
19 systemd-cgls --unit=systemd-journald.service
20 # There's most likely no user session running, so we need to create one
21 systemd-run --user --wait --pipe -M [email protected] systemd-cgls --user-unit=app.slice
22
23 (! systemd-cgls /foo/barscip-shell filesystem . . `/foo/bar`.)
24 (! systemd-cgls --unit=hello.world)
25 (! systemd-cgls --user-unit=hello.world)
26 (! systemd-cgls --xattr=foo)
27 (! systemd-cgls --cgroup-id=foo)