Operating System - HP-UX
1834190 Members
2709 Online
110064 Solutions
New Discussion

Re: Command to detirmine the current kernel (file)

 
SOLVED
Go to solution
jmckinzie
Super Advisor

Command to detirmine the current kernel (file)

I need a command to tel me which kernel file I am currently using?

IE /stand/vmunix or /stand/vmunix.old
5 REPLIES 5
Dave Hutton
Honored Contributor
Solution

Re: Command to detirmine the current kernel (file)

kcpath -d
or kcpath -b

man kcpath


Dave Hutton
Honored Contributor

Re: Command to detirmine the current kernel (file)

I just saw your other thread. HPUX11.11 may be different. I only have 11.0 and 11.23 here.

If the one I said prior doesn't work try kmpath.

I can't remember when they made the switch from km to kc.
Torsten.
Acclaimed Contributor

Re: Command to detirmine the current kernel (file)

On 11.11 it is kmpath, example:

>uname -r
B.11.11

>kmpath
/stand/vmunix

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Tim Nelson
Honored Contributor

Re: Command to detirmine the current kernel (file)

How about.

echo boot_string/S|adb /stand/vmunix /dev/mem


jmckinzie
Super Advisor

Re: Command to detirmine the current kernel (file)

kmpath did the trick.

Thanks....

Points to all.