sysctl(8) - SerenityOS man pages

Name

sysctl - configure kernel parameters at runtime

Synopsis

# sysctl [-a] [-w] [variable[=value]...]

Description

sysctl is a utility for managing kernel configuration parameters at runtime. This requires root privileges, and can crash your system. Available parameters are listed under /proc/sys/.

Options

Arguments

Files

Examples

View all parameters:

# sysctl -a

View ubsan_is_deadly parameter:

# sysctl ubsan_is_deadly
ubsan_is_deadly = 1

Set ubsan_is_deadly parameter to zero (disabled): (Note: This requires root privileges)

# su
# sysctl -w ubsan_is_deadly=0
ubsan_is_deadly: 1 -> 0