what is kernel parameters? where its located and how would
you find it ?
Answer Posted / 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 View All Answers
What is the difference between an environment and a local variable?
What does set -o do?
How do I open a profile in linux?
What software runs on linux?
How to delete information from a file in vi?
How to check memory stats and cpu stats as a linux admin?
give some examples of linux open source software.
Suppose your company is recently switched from microsoft to linux and you have some ms word document to save and work in linux, what will you do?
What is the best way to see the end of a logfile.log file?
What is a typical size for a swap partition under a linux system?
Can you run linux on a tablet?
Why does microprocessor contain rom chips?
What are system startup scripts?
Which type of boot occurs when the computer is already on, and you restart it without turning off the power.
What linux hotkeys do you know?