Saturday, March 29, 2014

sysctl command


sysctl helps to configure the linux kernel parameters during runtime.

#cat /etc/sysctl.conf is the sysctl configuration file.

#sysctl -a  , this will list all the currently available string or integer values.This is the default value, if no parameters are given to sysctl.


To modify the kernel parameter permanently on run-time.

# vi /etc/sysctl.conf -> add the necessary changes and save it

then

#sysctl -p -> it will commit the changes .It will be still there after the reboot.


To modify the kernel parameter temporary

#sysctl -w <kernel parameter details>

Note:The changes will lost after reboot.




1 comment:

Thank you !!