Linux General Question:
Download Questions PDF

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


Linux is a parameter driven system. Kernel parameters used
system configuration are found in /proc/sys/kernel, where
will find an individual file for each configuration
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
the modification of kernel parameters. Since each parameter
file contains a single line of data consisting of either a
string or numeric values, it is often easy to modify a
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
in a file called /etc/sysctl.conf. If, for example, we
wanted to
change the value of the msgmax parameter as we did above,
this time using sysctl, the command would look like this:

Download Linux General Interview Questions And Answers PDF

Previous QuestionNext Question
How to find out shared file&dir of FTP?What is block device and character device?