Operating System - HP-UX
1833458 Members
3353 Online
110052 Solutions
New Discussion

Re: Difference in kernel parameter shown by sysdef and kmtune -q

 
SOLVED
Go to solution
Ninad_1
Honored Contributor

Difference in kernel parameter shown by sysdef and kmtune -q

Hi All,

I am having a HP-UX 11.00 system on which if I want to see the kernel parameters.
I tried using sysdef, kmtune -q and through SAM and I was surprised to see that sysdef reports figures not tallying with kmtune or SAM figures for some kernel parameters.
Any idea why is that so?
I was relying on the sysdef figures and then suddenly realised that they are wrong and not matching SAM or kmtune -q. Am attaching the excel sheet where I have captured the corresponding figures

Help appreciated.

Thanks,
Ninad
3 REPLIES 3
James R. Ferguson
Acclaimed Contributor
Solution

Re: Difference in kernel parameter shown by sysdef and kmtune -q

Hi Ninad:

'sysdef' is deprecated. With 11.0, you should use 'kmtune'. With 10.20 and prior, 'sysdef' was the analogous tool.

Regards!

...JRF...
Steven E. Protter
Exalted Contributor

Re: Difference in kernel parameter shown by sysdef and kmtune -q

Shalom Ninad,

In addition to what JRF says, I think your system file in /stand may be out of date. Changes may have been made after the last kernel was compiled and never put in production.

Go with kmtune as good.

Note that 11.23, which you may use some day replaces kmtune with kctune though kmtune works, just puts up a nasty deprecation message before providing the exact same output.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Ninad_1
Honored Contributor

Re: Difference in kernel parameter shown by sysdef and kmtune -q

Thanks JRF and SEP.
So I will use kmtune for the correct values.
Just to clarify the system file must not have been changed after kernel rebuild as the system and vmunix files have the same timestamp. So ideallt sysdef should have reported correctly, anyway bottom line is rely on kmtune for HP-UX 11.00 and kctune for HP-UX 11.23.

Thanks,
Ninad