sysctl
is a utility to examine and modify kernel parameters at runtime. The /etc/sysctl.conf
file holds settings applied at boot or via sysctl -p
.
Save the output to /etc/sysctl.conf
, then run:
sudo sysctl -p
Save the output to /etc/sysctl.d/99-custom.conf
, then run:
sudo sysctl -p /etc/sysctl.d/99-custom.conf sudo systemctl restart systemd-sysctl
These settings are workload-specific. Always test in staging and adjust per your hardware and applications.