1832867 Members
2967 Online
110048 Solutions
New Discussion

Request to fellow admins

 
SOLVED
Go to solution
Eric Ladner
Trusted Contributor

Request to fellow admins

Could somebody send me a /stand/build/tune.h off of a default HP-UX 11.0 install? I'm trying to identify altered kernel parameters on a box I have and all of mine are definitly non-stock!

Thanks!
6 REPLIES 6
Hai Nguyen_1
Honored Contributor
Solution

Re: Request to fellow admins

Eric,

"kmtune -l" will display both default and modified kernel parameters for you to examnine.

Hai
S.K. Chan
Honored Contributor

Re: Request to fellow admins

Any altered kernel parameter would appear at the bottom of the file /stand/system. For example ..
...
maxdsiz 520093696 * 0x1f000000 *
maxdsiz_64bit 4127195136 * 0xf6000000 *
maxfiles 256 * 0x100 *
...
Attached is the default kernel values for 11.0.
Eric Ladner
Trusted Contributor

Re: Request to fellow admins

Cool.. Thanks.

Here's a nifty script that prints only the non-default parameters:

kmtune -l | awk '
/^Parameter/ { para=$2 }
/^Value/ { value=$2 }
/^Default/ { def =$2 ; if ( value != def ) { printf "%-40s %20s %20s\n", para, value, def }}'
Eric Ladner
Trusted Contributor

Re: Request to fellow admins

Cool.. Thanks.

Here's a nifty script that prints only the non-default parameters:

kmtune -l | awk '
/^Parameter/ { para=$2 }
/^Value/ { value=$2 }
/^Default/ { def =$2 ; if ( value != def ) { printf "%-40s %20s %20s\n", para, value, def }}'
H.Merijn Brand (procura
Honored Contributor

Re: Request to fellow admins

If for you the search function *does* work, try to find threads that have "kmtune.pl" in it, and find attached my perl script to nicely show all kmtune output in readable format (including the defaults)

Enjoy, have FUN! H.Merijn
Enjoy, Have FUN! H.Merijn
Dario_1
Trusted Contributor

Re: Request to fellow admins

Eric

This was taken from a machine that recently was upgraded to 11.0. No changes to the Kernel have been made.

Regards,

Dario