Operating System - HP-UX
1849407 Members
6504 Online
104044 Solutions
New Discussion

kernel symbols or valibles

 
yatin
Frequent Advisor

kernel symbols or valibles

where can i get a list of all kernel symbols(variables) and their description(like what is their use or what they mean). Following command gives me variables and their values
echo '$e' | adb64 -k /stand/vmunix /dev/mem
5 REPLIES 5
Michael Tully
Honored Contributor

Re: kernel symbols or valibles

Have a look at /var/sam/boot.config

or

http://www.docs.hp.com/hpux/onlinedocs/939/KCParms/KCparams.OverviewAll.html
Anyone for a Mutiny ?
Karthik S S
Honored Contributor

Re: kernel symbols or valibles

Refer to my earlier post on similar topic .. I found it very useful,

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=484957

-Karthik S S
For a list of all the ways technology has failed to improve the quality of life, please press three. - Alice Kahn
Steve Steel
Honored Contributor

Re: kernel symbols or valibles

Hi

I always advise

sam
kernel configuration
configurable parameters

Menu
print
print to file

nice basic list



also
www.docs.hp.com

search on configurable



lastly see
man getconf


Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
Dietmar Konermann
Honored Contributor

Re: kernel symbols or valibles

Yatin,

your adb command dumps all external symbols from the kernel file. More than 6000 on my system, so don't expect to find any documentation on 99.9% of them unless you have source code access. :)

If you need information about kernel tunables then the man pages of 11.23 are a valuable information resource. They are also on the web... check section 5 of:

http://docs.hp.com/hpux/onlinedocs/B2355-60103/B2355-60103.html

Best regards...
Dietmar.



"Logic is the beginning of wisdom; not the end." -- Spock (Star Trek VI: The Undiscovered Country)
Rory R Hammond
Trusted Contributor

Re: kernel symbols or valibles


I like to add a little more info.

tunable parms are C #defines. These values are then substuted into the kernal code for compiling.
On my 11i system the parms are in /stand/build/tune.h

It shows the kernal parms and the values.
(You can use sam as stated above. It is interesting to see the contents of the actual file.)
Rory

There are a 100 ways to do things and 97 of them are right