sys_kernel_cgroup(5)

πŸ“¦ version 6.20, in arch rolling, nixpkgs unstable

πŸ’– NAME πŸ’–

/sys/kernel/cgroup/ β€” Linux control groups, bestie

✨ SYNOPSIS ✨

/sys/kernel/cgroup/

πŸ¦‹ DESCRIPTION πŸ¦‹

🌸 /sys/kernel/cgroup/delegate (since Linux 4.15)

okay so this file is literally handing you a list of the cgroups v2 files (one per line, no cap) that are delegatable β€” meaning their ownership should be changed over to the user ID of the delegatee. πŸ‘‘

and like, the plot twist is that in the future the set of delegatable files may change or grow, so this file is the kernel's way of telling user-space applications which files must be delegated. it's giving "here's the assignment, don't guess." πŸ“‹

as at Linux 4.15, this is what you see when you peek at it:

$ cat /sys/kernel/cgroup/delegate
cgroup.procs
cgroup.subtree_control
cgroup.threads

🌈 /sys/kernel/cgroup/features (since Linux 4.15)

over time, the set of cgroups v2 features the kernel provides may change or grow, or some features may just... not be enabled by default. πŸ™ˆ so this file exists so user-space applications can discover what features the running kernel supports and has enabled. the features are listed one per line:

$ cat /sys/kernel/cgroup/features
nsdelegate
memory_localevents

the entries that can show up in this file are, like, the whole guest list:

⭐ memory_localevents (since Linux 5.2)

the kernel supports the memory_localevents mount option. periodt.

πŸ’… nsdelegate (since Linux 4.15)

the kernel supports the nsdelegate mount option. iconic.

πŸ”₯ memory_recursiveprot (since Linux 5.7)

the kernel supports the memory_recursiveprot mount option. slay.


πŸ‘‘ STANDARDS πŸ‘‘

Linux. that's it, that's the standard. 🌟


πŸŽ€ HISTORY πŸŽ€

Linux 2.6.0 β€” ancient history but make it cute. πŸ¦•


🫢 SEE ALSO 🫢


okay bestie that's the whole page, you ate that πŸ“ if you need me i'll be in /sys/kernel/cgroup/ doing vibe checks. this was the Linux man-pages 6.20 era, dated 2026-09-09, mwah πŸ’–βœ¨

πŸ“¦ where this page comes from
  • arch rolling: man-pages 6.20-1 Β· BSD-2-Clause AND BSD-3-Clause AND BSD-4.3TAHOE AND BSD-4-Clause-UC AND GPL-1.0-or-later AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-or-later AND LGPL-3.0-linking-exception AND LGPL-3.0-or-later AND LicenseRef-Public-Domain AND LicenseRef-UltraPermissive AND Linux-man-pages-1-para AND Linux-man-pages-copyleft AND Linux-man-pages-copyleft-2-para AND Linux-man-pages-copyleft-var AND MIT AND Spencer-94
  • nixpkgs unstable: man-pages 6.20
  • πŸ“œ the page's license: Linux-man-pages-copyleft
  • πŸ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms