sysctl Command Examples

List and change kernel runtime variables. More information: https://manned.org/sysctl.8.

sysctl -a

sysctl -w {{section.tunable}}={{value}}

sysctl fs.file-nr

sysctl fs.file-max

sysctl -p