Operating System - HP-UX
1834882 Members
2136 Online
110071 Solutions
New Discussion

compare kernel parameter for two system

 
SOLVED
Go to solution
kholikt
Super Advisor

compare kernel parameter for two system

Is there any way I can dump out all my kernel parameter setting so that I can compare it with another server
abc
3 REPLIES 3
Steven E. Protter
Exalted Contributor
Solution

Re: compare kernel parameter for two system

on system 1

kmtune > sys1.kern


on system 2

kmtune > sys2.kern


Get the two files on the same system and:

diff sys2.kern sys1.kern

You will get all the data you have requested.

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
Sundar_7
Honored Contributor

Re: compare kernel parameter for two system

There is no diret simple way - all you have to do is extract the kernel parameters from both the systems and write a script to compare or take a pencil and help urself :)

We can kind of draft a script for you if you can tell us the OS version you use.

in 10.20 - you have to use sysdef

in 11.x - you have to use kmtune command

Learn What to do ,How to do and more importantly When to do ?
Manish Srivastava
Trusted Contributor

Re: compare kernel parameter for two system

I agree with Steven only addition is that you can sort the output (I dont know whether it is already sorted) of kmtune before the diff

manish