1846764 Members
5859 Online
110256 Solutions
New Discussion

Re: SYSDEF

 
SOLVED
Go to solution
Jennifer Chiarelli
Regular Advisor

SYSDEF

Does anyone know why the sysdef command returns invalid values for kernel paramters (on both HP-UX 10.20 and HP-UX 11.0)?
It's a binary world!
7 REPLIES 7
Dan_4
Advisor

Re: SYSDEF

What do you mean by invalid?

Do you mean the returned values are incorrect when compared to what shows up in SAM? Or do you mean it is possible to set values outside of SAM taht SAM considers invalid, and sysdef will show them?
Denver Osborn
Honored Contributor
Solution

Re: SYSDEF

Lanny,

Any particular parameters? If you do a sysdef and the UNITS column for the parm says Pages, get the page size from dmesg (default 4096) and multiply that by the parameters value. You should see that the sysdef and the SAM value will match.

For example, sysdef shows maxdsiz=16384 and UNITS=Pages. 16384*4096=67108864. The same value is seen in SAM.

I hope this helps!
Denver Osborn
Honored Contributor

Re: SYSDEF

you'll probably see some parms that just dont match up to the listed value in SAM, but I don't have any idea on where or how sysdef is getting those values. Hopefully someone else will post you a better explaination.
Andy Monks
Honored Contributor

Re: SYSDEF

Lanny,

I hate to say it, but I believe sam. sysdef is 'ok' at best. It doesn't list half the useful parameters anyway.
Neil Haslum
Occasional Contributor

Re: SYSDEF

If you want the value of parameters you have tuned, you could do worse than looking at the bottom of /stand/system.
CHRIS_ANORUO
Honored Contributor

Re: SYSDEF

The command sysdef analyzes the currently running system and reports on its tunable configuration parameters. It displays the current values of the parameters as different from the value at boot time.
For example, if you have bufpages set equal to zero in the kernel configuration file, this, you will notice has changed to a higher value due to the dynamic nature of paging and cacheing.
The value of netmemmax can be deduced or confirmed from syslog file as different from what the kernel configuration showed.
When We Seek To Discover The Best In Others, We Somehow Bring Out The Best In Ourselves.
Jennifer Chiarelli
Regular Advisor

Re: SYSDEF

Dan - yes, the values such as maxdsiz and nbuf. Maxdsix was 0 in sysdef and 16384 in SAM.
Denver - What you have said makes a lot of sense! And as Chris pointed out, some of the variables would be dynamic.

Neil - Good point, but only a few values are listed.

Sorry I didn't explain myself better in the first place! What I was trying to achieve was to get a report that would show the actual setting that were entered in SAM.

Thanks to everyone for your responses!

It's a binary world!