misc_cg_capacity_show(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… misc_cg_capacity_show(9) πŸ’…

Okay so bestie, welcome to the Kernel API Manual entry for misc_cg_capacity_show β€” yes that's the whole name, no cap, and it's literally about showing the total capacity of misc res on the host. Buckle up πŸŽ€


✨ NAME ✨

misc_cg_capacity_show β€” show the total capacity of misc res on the host. That's it, that's the whole job 🫢


🌸 SYNOPSIS 🌸

int misc_cg_capacity_show (struct seq_file *sf , void *v );

Yep, that's the signature, character for character, don't @ me πŸ’…


πŸ¦‹ ARGUMENTS πŸ¦‹

  • sf β€” the interface file, aka the struct seq_file * you're printing into. It's giving "the canvas" energy 🎨
  • v β€” arguments passed. Yeah, that's literally what it is. Main character of "mystery pointer" vibes πŸ™ˆ

⭐ DESCRIPTION ⭐

Only present in the root cgroup directory. That's the whole description, bestie β€” it's a short one, but it ate πŸ”₯

Ngl, if you're looking for it anywhere other than the root cgroup directory, it's not gonna be there. Just saying 😭

🧚 CONTEXT 🧚

Any context. Literally any. No restrictions, no drama, we love a flexible queen πŸ‘‘


πŸ’œ RETURN πŸ’œ

Returns 0 to denote successful print. Zero = slay, print worked, we move 🌈


πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./kernel/cgroup/misc.c β€” plus the whole friend group, fr fr:


✨ That's the whole page, bestie ✨ This lil' icon drops from ./kernel/cgroup and it's dated October 2026 β€” so go forth, read your cgroup capacity, and remember: only present in the root cgroup directory πŸ’–πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from