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

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/Linux/sh...', 1738291655, '18.191.171.26', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/Linux/shell/commands/sysctl(69): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78