proc_sys(5)

๐Ÿ’– proc_sys(5) โ€” bestie's guide to /proc/sys/ ๐Ÿ’–

okay so like. this is proc_sys, a file formats manual page, and it's lowkey one of the most iconic little corners of your Linux box. pull up a chair ๐Ÿซถ


โœจ NAME โœจ

/proc/sys/ โ€” system information, and sysctl pseudo-filesystem

๐ŸŒธ DESCRIPTION ๐ŸŒธ

๐ŸŽ€ /proc/sys/

this directory has been serving looks since Linux 1.3.57 (yes, literally that long, main character energy since forever ๐Ÿ’…). inside it you'll find a whole bunch of files and subdirectories, and they correspond to kernel variables. the way that kernel variables just live in a folder?? obsessed.

these variables can be read, and in some cases modified, using the /proc filesystem, and also using the (deprecated!!) sysctl(2) system call.

โš ๏ธ okay bestie real talk: sysctl(2) is deprecated. go through /proc instead, fr fr. don't be texting your ex.

๐Ÿงš the formatting rules, don't skip these

  • String values may be terminated by either '\0' or '\n'. either one, she's flexible ๐Ÿ’–
  • Integer and long values may be written either in decimal or in hexadecimal notation (e.g., 0x3FFF). yes hex girlies, we see you โœจ
  • When you're writing multiple integer or long values, you can separate them with any of these whitespace characters: ' ', '\t', or '\n'.
  • Using any other separators leads to the error EINVAL. that's a vibe check failure, sorry ๐Ÿ˜ญ

๐Ÿฆ‹ see also (the little sibling pages)

these all got their own pages and honestly they ate:


๐Ÿ‘‘ SEE ALSO ๐Ÿ‘‘


and that's the whole page, bestie, you're basically a kernel whisperer now ๐Ÿš๐Ÿ’œ

this was Linux man-pages 6.20, dated 2026-02-08 โ€” mwah, go read some variables ๐ŸŒˆโญ๐ŸŽ€

๐Ÿ“ฆ 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: GPL-3.0-or-later
  • ๐Ÿ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms