If I want to find out the compile options of cgroup
(version 1 or version 2), such as the systemd.unified_cgroup_hierarchy
it was compiled with, how can I find this?
Asked
Active
Viewed 667 times
0

Evan Carroll
- 30,763
- 48
- 183
- 315
1 Answers
0
This information is available with systemd --version
, at the bottom. When you run it you'll see something like
systemd 247 (247.1-3+deb11u1)
+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +ZSTD +SECCOMP +BLKID +ELFUTILS +KMOD +IDN2 -IDN +PCRE2 default-hierarchy=hybrid
The option you want here is default-hierarchy=hybrid
(which is set to change very soon)

Evan Carroll
- 30,763
- 48
- 183
- 315