You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

OCI: How to Add/Change Kernel Parameters in Oracle Linux

edited Jun 19, 2024 3:33PM in Linux

Applies To:

Oracle Cloud Infrastructure  

Linux OS   

Goal: 

Whether optimizing Linux system performance or satisfying application system requirements, the Linux kernel can be specifically configured/tuned to meet user's requirements. 
Configuration is accomplished by modifying the kernel's various kernel parameter values. 
This document describes using sysctl to query and modify kernel parameters on Oracle Linux (OL) systems. sysctl configures kernel parameters at runtime. 

Solution: 

  • To list all kernel parameter on a Linux system 
# sysctl -a 
  • To verify any specific parameter and its value
# sysctl ‘parameter’  

Example:

# sysctl kernel.dmesg_restrict 
kernel.dmesg_restrict = 0     ---->> Value 0 means disabled 

 

  • Temporary Change (Until Next Reboot) 

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!