Operating System - HP-UX
1835075 Members
2164 Online
110073 Solutions
New Discussion

kernel parameter configuration info locale

 
SOLVED
Go to solution
Randy_9
Regular Advisor

kernel parameter configuration info locale

Is there a file that I could look at ( HP 11.00 ), that will show me what the kernel parameters are set for ( don't say "run sysdef" ). The reason is I need to reconstruct a system ( lack of "make_tape_recovery" ). I do have a full "frecover" tape. Can I get the info I need from a file in that?

Thanks,

Randy
4 REPLIES 4
Sridhar Bhaskarla
Honored Contributor
Solution

Re: kernel parameter configuration info locale

Hi Randy,

/stand/system and /stand/build/system are generally the system files. However, there is no guarantee that they will be upto-date unless you make it a practice that you update and use those files whenever you build the kernel.

One way is to use system_prep to query the kernel. You can probably recover vmunix as say /tmp/vmunix.sysA and then run system_prep against it.. for ex.,

/usr/lbin/sysadm/system_prep -k /tmp/vmunix.sysA -s /tmp/system.sysA

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Sundar_7
Honored Contributor

Re: kernel parameter configuration info locale

Hi Randy,

You can try this

1) Restore /stand/vmunix from the "frecover" archive to /tmp in an another system

2) and execute system_prep command against that kernel file

# /usr/lbin/sysadm/system_prep -v -k /tmp/vmunix -s /tmp/system
# kmtune -l -S /tmp/system

I know you can skip recovering /stand/vmunix from the archive and rather extract only the /stand/system file from the archive.

But I prefer to create system file from the kernel than going with the static copy of the system file, because some of us admins miss to move the /stand/build/system file to /stand/ directory :-)

- Sundar
Learn What to do ,How to do and more importantly When to do ?
Sundar_7
Honored Contributor

Re: kernel parameter configuration info locale

wow, that was close :-)
Learn What to do ,How to do and more importantly When to do ?
Randy_9
Regular Advisor

Re: kernel parameter configuration info locale

Sridhar and Sundar,

Thank you both for the replies. As soon as
I can get back to that problem, I will do as you both suggested.

Thanks and have a great day!

Points assigned

Randy