Operating System - HP-UX
1848736 Members
12726 Online
104036 Solutions
New Discussion

Re: kernel modification from command line

 
Greg Purcell_1
New Member

kernel modification from command line

I am looking at using kmtune and mk_kernel to change the kernel and create a new one. Only, it doesn't like when I use kmtune to modify like msgtql=nproc*7. It'll take it, but will crap out when I run mk_kernel. Anything I'm missing? Do I need to tell it somehow to change dependencies?
7 REPLIES 7
Rita C Workman
Honored Contributor

Re: kernel modification from command line

I've been waiting for a need to change some parms on my 11 boxes, just to get to use kmtune.
Now maybe I'm missing something, it wouldn't be the first time....
From the way I read the manpage you could either set it equal to a specific value or have it increase the parm with the +. But I didn't understand it to say it would perform a calc (other than + ) by referencing the value of another parm and performing the calculation. Just = to value or + value.

But like I said.....I haven't had occassion to change any parms for awhile..so maybe my view is a misinterpretation.

/rcw
Karthik_2
Regular Advisor

Re: kernel modification from command line

Greg ,
Double check the kmtune syntax .
It may not take a formula ..it can taek only a value .
Check kmtune man pages .

Karthik...
Its ALL in the MATRIX
Paula J Frazer-Campbell
Honored Contributor

Re: kernel modification from command line

Hi
In 11.00 ncallout >= nproc, so I would imagine that you are not complying with this and the build is failing.


HTH

Paula
If you can spell SysAdmin then you is one - anon
Greg Purcell_1
New Member

Re: kernel modification from command line

I have checked the man pages, many times. There was no reference to changing by formula value. But, man pages don't always tell everything. Goal is to change msgtql from nproc*8 to nproc *7.
Karthik_2
Regular Advisor

Re: kernel modification from command line

Greg,
I sure used kmtune to change the value with the numeric value and not with a formula .
Try giving the actual value instead of the formula .

Karthik...
Its ALL in the MATRIX
Paula J Frazer-Campbell
Honored Contributor

Re: kernel modification from command line

Hi Greg

Fire up sam and play arround with these settings to get and note the full interdependancy, (be careful not to commit the changes)

Then knowing how each is tied together you can then use kmtune, changing the params in the correct order to achieve your aim.


HTH

Paula
If you can spell SysAdmin then you is one - anon
Greg Purcell_1
New Member

Re: kernel modification from command line

I need to use the formula due to the fact I want to script this to use on multiple boxes. These servers will vary from L to A classes therefore the kernel settings would vary from the servers.