what is kernel parameters? where its located and how would
you find it ?



what is kernel parameters? where its located and how would you find it ?..

Answer / guest

Linux is a parameter driven system. Kernel parameters used
for
system configuration are found in /proc/sys/kernel, where
you
will find an individual file for each configuration
parameter.
Because these parameters have a direct effect on system
performance and viability, you must have root access in
order to
modify them.

Occasionally, a prerequisite to a package installation
requires
the modification of kernel parameters. Since each parameter
file contains a single line of data consisting of either a
text
string or numeric values, it is often easy to modify a
parameter
by simply using the echo command:

echo 2048 > /proc/sys/kernel/msgmax

The aforementioned command will set the value of the msgmax
parameter to 2048.

Linux also provides the sysctl command to modify kernel
parameters at runtime. Sysctl uses parameter information
stored
in a file called /etc/sysctl.conf. If, for example, we
wanted to
change the value of the msgmax parameter as we did above,
but
this time using sysctl, the command would look like this:

Is This Answer Correct ?    4 Yes 2 No

Post New Answer

More Linux General Interview Questions

Why linux is the most secure?

0 Answers  


How can you enhance the security of the password file?

0 Answers  


What happens when mutex is locked?

0 Answers  


Is arch linux good for beginners?

0 Answers  


How can you determine the total memory used by linux?

0 Answers  






How deadlocks are handled in linux ?

2 Answers   Acer,


What is the detail boot process in linux? Start form Pc on..?

3 Answers   CybAge,


How do I find system information in linux?

0 Answers  


1)Can we extend /root partition in RHEL 6 ? If yes then what are the steps?

0 Answers   HCL,


Can semaphores be negative?

0 Answers  


Explain the read, write, and execute permissions on a UNIX directory

3 Answers  


Why is linux considered more secure than other operating systems?

0 Answers  


Categories