misc_cg_peak_show(9)
πΈ misc_cg_peak_show(9) πΈ
okay bestie, welcome to the Kernel API Manual β yes, that's the manual we're in, we're doing kernel cgroup lore today and honestly? it's giving iconic. this page is literally all about misc_cg_peak_show, which shows the peak usage of the misc cgroup. peak usage!! the high score!! the record!! π
β¨ NAME β¨
misc_cg_peak_show β show the peak usage of the misc cgroup π
like, it's the function that tells you the biggest number the misc cgroup ever hit. main character energy fr fr.
π¦ SYNOPSIS π¦
int misc_cg_peak_show (struct seq_file *sf , void *v );
that's the whole signature, no cap. two arguments, returns an int, slays.
π ARGUMENTS π
sfβ Interface file. that's thestruct seq_file *bestie, the file interface it's printing into π«Άvβ Arguments passed. yes it's literally just calledvand yes that's the whole description, we love a mysterious minimal king π
β CONTEXT β
Any context. ANY. context. π no restrictions, no dress code, it's welcome everywhere. lowkey obsessed with how unbothered this is.
π RETURN π
Returns 0 to denote successful print. that's it, that's the return value β zero means it printed fine, we love a clean success β¨
π₯ SEE ALSO π₯
Kernel file ./kernel/cgroup/misc.c β and then the whole friend group, all linked together, iykyk:
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_capacity_show(9)misc_cg_alloc(9)misc_cg_free(9)
ngl if you're reading this page you probably wanna read at least a couple of those too β they're all in ./kernel/cgroup/misc.c and they all ate π
okay that's the whole page bestie, you understood it perfectly, mwah π and for the cute sign-off: this little masterpiece lives in ./kernel/cgroup, dated October 2026, and it's page misc_cg_peak_show(9) of the Kernel API Manual. periodt. ππ¦
π¦ 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