do_sysinfo(9)
π do_sysinfo β the kernel API manual, bestie edition β¨
okay so real talk, this is do_sysinfo(9) from the Kernel API Manual, and she's a tiny one but she matters π
πΈ NAME πΈ
do_sysinfo β literally just fills in the sysinfo struct. that's the whole job. that's her whole personality. and she ate π
β¨ SYNOPSIS β¨
int do_sysinfo (struct sysinfo *info );
that's it. that's the signature. look at her go π₯
π¦ ARGUMENTS π¦
infoβ pointer to the buffer you wanna fill π«Ά like, this is the thing getting stuffed with sysinfo goodness. hand her the pointer, she does the rest, no cap.
π SEE ALSO π
- the kernel file
./kernel/sys.cβ yeah that's where she lives, go say hi π sys_getpid(9)β her sibling, also iconic, also worth a read β¨
lowkey a reminder that info is a pointer to a buffer to fill β so pls actually give her a real buffer to point at, mwah π
that's the whole page bestie, go forth and sysinfo π
π¦ from ./kernel, dated October 2026 β mwah, love u, bye π
β¨
π¦ 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