OCI: How to Add/Change Kernel Parameters in Oracle 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)
Tagged:
0