misc_cg_capacity_show(9)
π 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 thestruct 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:
parent_misc(9)valid_type(9)misc_cg_set_capacity(9)misc_cg_cancel_charge(9)misc_cg_try_charge(9)misc_cg_uncharge(9)misc_cg_max_show(9)misc_cg_max_write(9)misc_cg_current_show(9)misc_cg_peak_show(9)misc_cg_alloc(9)misc_cg_free(9)
β¨ 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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms