Setting kernel parameters

How to set kernel parameters in Red Hat Linux, AIX, & Solaris.

Questions by Pragati.rch

Showing Answers 1 - 6 of 6 Answers

cmanne

  • Sep 2nd, 2009
 

There are two methods to configure the Kernel parameters in RHEL

1. by using the command "sysctl -w <parameter_name>= <value>

The above command will change the kernel parameters on the fly but the changes are not persistent with system reboots. That is why people always choose the second method to make changes to kernel parameters

2. By editing the file "/etc/sysctl.conf" file

         A. Edit the file "/etc/sysctl.conf" by adding the parameters along with values
         B. execute "/sbin/sysctl -p" to make sure that the changes are made using the values inside the above mentioned file.

The advantage with the second method is that the changes are persistent with system reboots.

Hope that the information will be useful for you.

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions