You are troubleshooting a power-optimized server. Use tuned-adm to verify and set the power-saving profile.
You are asked to increase the maximum number of open files a process can have using kernel parameters. How can you modify this value at runtime and make it persistent?
You need to disable IP forwarding on a RHEL system. How do you inspect the current value and change it temporarily and permanently?
How do you inspect the kernel’s swap usage tendency and reduce its aggressiveness?A. See the Explanation for Step-by-Step answer. Explanation: 1. View current swappiness value: cat /proc/sys/vm/swappiness 2. Temporarily reduce it (e.g., to 10): sysctl -w vm.swappiness=10 3. Make it permanent: Add to /etc/sysctl.conf: vm.swappiness = 10 4. Reload configuration: sysctl -p
How can you dynamically change the TCP keepalive time for active connections?
You suspect CPU resource contention on a RHEL 9 system. Use vmstat to monitor CPU usage and interpret the output to determine if the system is CPU-bound.