1833669 Members
4040 Online
110062 Solutions
New Discussion

Document Kernel Values

 
Henry Weldon
Advisor

Document Kernel Values

Is there a way do display the value of all the kernel values from the command line. I would like to script it. sysdef does not show them all, or shows them incorrectly, /stand/system file only has values if they are overridding the defaults.
Be Prepared
4 REPLIES 4
Rita C Workman
Honored Contributor

Re: Document Kernel Values

I have always found it handy to print out the kernel parms for the sake of documentation:

Just go into SAM/Kernel Configuration
then hit File and Print
you could save it to a file and/or print it

...it's handy when you have similar systems to have a handy reference as to how you set up the other box.

/rcw
Carlos_8
Advisor

Re: Document Kernel Values

Henry,

I hope this is what you are looking for.

Reading the man page for kmtune, it seems this command would give you what you are looking for:

/usr/sbin/kmtune -l

The man page says: -l Print a detail report. The -l option cannot be used with the -r or -s options
Further reading says: If the -l option is specified without the -q query option, a detailed report on all the parameters is displayed. The information between the parameters is separated by blank lines.

I don't think you will get undefined parameters if not currently in present kernel. You could build a new test kernel and save it to a file as a reference. Which would give you a listing of all available kernel prameters.

HTH
Carlos
Henry Weldon
Advisor

Re: Document Kernel Values

The "kmtune -l" works well for 11.0, but is not available for 10.20. I have 50+ servers at 10.20 and need a quick way to verify certain kernel parms values.
Be Prepared
Rob Smith
Respected Contributor

Re: Document Kernel Values

How about sysdef??

Hope this helps,
Rob
Learn the rules so you can break them properly.