sysctl is a system call and administrator command for configuring kernel parameters. It takes parameters from the following files (in order):
- /proc/sys
- /etc/sysctl.d/*.conf
- /run/sysctl.d/*.conf
- /usr/local/lib/sysctl.d/_.conf
- /usr/lib/sysctl.d/_.conf
- /lib/sysctl.d/_.conf
- /etc/sysctl.conf
Calling sysctl -a will output all1 kernel parameters to stdout
Further reading:
Footnotes
-
Except those that are forbidden from being read. ↩