mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 15:22:43 +00:00 
			
		
		
		
	 751aae77bc
			
		
	
	
		751aae77bc
		
	
	
	
	
		
			
			The name "variables" is a bit awkward and what the directory entries are really about is kernel configuration so let's make it clear with the new name.
		
			
				
	
	
	
	
		
			999 B
		
	
	
	
	
	
	
	
			
		
		
	
	
			999 B
		
	
	
	
	
	
	
	
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 /sys/kernel/conf/.
Options
- -a: Display all kernel parameters and associated values.
- -w: Set kernel parameters to the specified values.
Arguments
- variable: Retrieve the specified parameter.
- variable=value: Set the specified parameter to the specified value. The option- -whas to be specified.
Files
- /proc/sys- source of kernel parameters
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