GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Operating System  >  Unix Commands
Go To First  |  Previous Question  |  Next Question 
 Unix Commands  |  Question 68 of 73    Print  
setting kernel parameters
How to set kernel parameters in Red Hat Linux, AIX, & Solaris.


  
Total Answers and Comments: 2 Last Update: September 02, 2009     Asked by: Pragati.rch 
  
 Sponsored Links

 
 Best Rated Answer
Submitted by: cmanne
 

There are two methods to configure the Kernel parameters in RHEL

1. by using the command "sysctl -w <parameter_name>= <value>
The above command will change the kernel parameters on the fly but the changes are not persistent with system reboots. That is why people always choose the second method to make changes to kernel parameters

2. By editing the file "/etc/sysctl.conf" file

         A. Edit the file "/etc/sysctl.conf" by adding the parameters along with values
         B. execute "/sbin/sysctl -p" to make sure that the changes are made using the values inside the above mentioned file.

The advantage with the second method is that the changes are persistent with system reboots.

Hope that the information will be useful for you.



Above answer was rated as good by the following members:
scarabek
May 01, 2008 13:48:54   #1  
Manimartyr Member Since: May 2008   Contribution: 1    

RE: setting kernel parameters
kernel parameters can be set using sysctl utility.. or try using /etc/sysctl.conf
 
Is this answer useful? Yes | NoAnswer is useful 1   Answer is not useful 0Overall Rating: +1    
September 02, 2009 14:36:37   #2  
cmanne Member Since: January 2006   Contribution: 49    

RE: setting kernel parameters

There are two methods to configure the Kernel parameters in RHEL

1. by using the command sysctl -w <parameter_name> <value>


The above command will change the kernel parameters on the fly but the changes are not persistent with system reboots. That is why people always choose the second method to make changes to kernel parameters

2. By editing the file /etc/sysctl.conf file

A. Edit the file /etc/sysctl.conf by adding the parameters along with values

B. execute /sbin/sysctl -p to make sure that the changes are made using the values inside the above mentioned file.

The advantage with the second method is that the changes are persistent with system reboots.

Hope that the information will be useful for you.


 
Is this answer useful? Yes | NoAnswer is useful 1   Answer is not useful 0Overall Rating: +1    

 Related Questions

Kernel checks 'type' field in the file's inode structure. 
Latest Answer : device filles are of 2 types --- charcater device file and block device filetype field in the file's inode structureb--- block device filec--- character device file ...

Latest Answer : The kernel is located in /stand ...
Read Answers (4) | Asked by : SAJIT KUMAR

Latest Answer : please specify it ...its not working with sun soleris version 9.0..its saying command not find ...
Read Answers (2) | Asked by : teja

How to set kernel parameters in Red Hat Linux, AIX, & Solaris. 
Latest Answer : There are two methods to configure the Kernel parameters in RHEL1. by using the command "sysctl -w <parameter_name>=


 Sponsored Links

 
Related Articles

Attitude Development : Setting Intelligent Goals

Setting Intelligent Goals How am I Doing in Life Every once in a while it is necessary to take a step back in order to take a long hard look at where we are in our lives At this point it is good to ask yourself a bunch of critical questions Are you at the point in your career where you want to be Ha
 

How to call C header that is not provided generally by system in C++?

Headers can be called by using extern C Syntax of extern C is: extern &quot;C&quot; &lt;function declaration&gt; for example to call C functions from C++ we can write extern &quot;C&quot; { &lt;function declaration&gt; &lt;function declaration&gt; ...
 

SQL Table Commands

SQL Table Commands Overview As mentioned previously in this series of SQL articles, databases are primarily composed of tables. The &ldquo;columns and rows&rdquo; structure of the table allows data to be efficiently inserted, manipulated, updated, and deleted from the database. The three mos
 

System Implementation

In the previous articles relating to SDLC Stages we&nbsp;discussed about Project Planning and Feasibility Study moved on to System Analysis and Requirements which lead to Systems Design. Systems Design will naturally lead to another stage where it becomes closer to the actual deployment of the p
 

System Analysis and Requirements

In the previous chapter, we&rsquo;ve discussed about project planning and feasibility study. That stage was important because it tries to establish a problem in our highly technological world. As our understanding on what we can do in computers evolve and so are the things that we need to make t
 

The Interview Snafu

How to turn someone else&rsquo;s mistake to your advantage Your dream job is about to become reality. A recruiter gave you the heads up about the perfect position at Humungous Conglomerate, Inc. You went through five interviews as well as a battery of psychological tests mandated by their HR de
 

Winning a Job Interview with a Winning Resume

Does your resume unlock your potential, take your skills to the highest level and win you the interview and the job you want now? The job market today is highly competitive and even if you think you have what it takes to get an interview you won&rsquo;t get over the line without a polished, prof
 

Operating Systems and IT Certification

With the burst of information technology that is becoming a part of the dominant culture throughout the world, are programs that are designed to help those in this area to grow in knowledge.&nbsp; By understanding the different technologies that are available, one is able to use them and impleme
 

NLP Setting and Achieving Goals

NLP Setting and Achieving Goals Introduction Many people are unable to accomplish anything in their life due to a lack of clear goals On the other hand there are people who set daily weekly and monthly goals and get outstanding results Success is achieved due to their clear focus on measurable targe
 

Unix Client Server Technology

Unix Client Server Technology Understanding the Role of Unix When discussing client server technology it is important to understand UNIX one of the first primary building blocks for network possibilities that continues its influence today UNIX is an operating system designed for multi tasking by mul
 

About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape