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 is a swap space?
How you can view the text file using terminal?
How big should the swap-space partition be?
What is Synchronization? What is Mutex? Explain the Reader Writer Problem
What are inode and process id?
Which is the recommended size for the swap space partition?
how to find out shared file&dir of FTP ? is there any command for find out are any other way we have? tell me with example?
Why is linux considered more secure than other operating systems?
You are logged on as a regular user. Without logging off and logging on as root, you are required to create a new user account immediately. How would you do it?
Which daemon is responsible for tracking events on linux system?
User unable to login in server then how can u troubleshooting it? Example: server at Bangalore. in that server two users try to login in server from other place. 1st user able to login. but second user unable to login so how can troubleshoot it ?
How to reduce or shrink the size of LVM partition?