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 |
What are the features of linux os over other operating systems etc?
How shadow passwords are given by in linux?
How do you get full path of a file in Linux?
How do you check permissions of each directory to a file?
What is a daemon process in linux?
What is virtual desktop?
What is linux and why it is used?
A system has four NI cards , how do you find out that a particular NI card is faulty without going to the sever ?
In linux wat is the command to see on which port which service is running? and wat is the differnece between /etc/services file and netstat command
Are there viruses on linux?
Name key files or directories on a unix system that should always be backed up?
What is the maximum length for any file name under linux?