Search notes:

Shell command: sysctl

Configure or display kernel parameters at run time.
sysctl must not to be confused with systemctl.
sysctl -a | grep kernel.sem

Displaying all currently available values

sysctl -A
sysctl -a

Displaying a given value

sysctl kernel.panic_on_oops
1

sysctl reads /proc/sys/… under the hood

# sysctl abc.def
sysctl: cannot stat /proc/sys/abc/def: No such file or directory

# sysctl kernel.hostname
kernel.hostname = Jupiter2

# cat /proc/sys/kernel/hostname
Jupiter2

See also

/etc/sysctl.conf, /etc/sysctl.d
/proc/sys
Shell commands

Index