sysctl key
also: kernel parameter, sysctl parameter, proc/sys parameter
A sysctl key is a named parameter in the kernel's sysctl interface that controls runtime system behavior, such as network settings, memory management, and security policies. Modified using the sysctl command or by editing /etc/sysctl.conf.
Sysctl keys are hierarchical configuration parameters exposed by the Linux kernel through the /proc/sys filesystem. They allow administrators to tune kernel behavior without recompiling or rebooting, using dot-separated naming like net.ipv4.ip_forward.
Each key maps to a virtual file in /proc/sys. For example, net.ipv4.ip_forward corresponds to /proc/sys/net/ipv4/ip_forward. You can view a key's value with sysctl net.ipv4.ip_forward or modify it with sysctl -w net.ipv4.ip_forward=1.
Common use cases include enabling IP forwarding for routing, adjusting TCP timeouts, managing memory swappiness, and configuring security settings. Changes made via sysctl commands are temporary; to persist them across reboots, add them to /etc/sysctl.conf and run sysctl -p to load them.