Operating System - HP-UX
1833792 Members
2106 Online
110063 Solutions
New Discussion

Re: how to display complete parameters value

 
Hanry Zhou
Super Advisor

how to display complete parameters value

I want to print out a completed list of parameters and their values as the same format when you see in sam. I tried to use kmtune, but the output of this command includes a lot of non-decimal number and also other statement, so it is not what I want. "sysdef" is not so completed.
none
2 REPLIES 2
Steven E. Protter
Exalted Contributor

Re: how to display complete parameters value

display the kernel parameters in sam.

Then options view sam log

view commands only.

Copy these commands to a script.

You will have the output you desire.

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
Howard Palmer
Advisor

Re: how to display complete parameters value

I assume you are using HPUX 11.00, since 11i shows full decimal values with kmtune.

You could use kmtune to get the list of parameters, then use adb to query the kernel for the actual values. Something like this perhaps?

kmtune | cut -d" " -f1 | sed 's/$/\/U/' | adb -k /stand/vmunix /dev/kmem
GTCI