Operating System - HP-UX
1830718 Members
4830 Online
110015 Solutions
New Discussion

maxdsiz value of 0x20000000. What value does this actually mean?

 
SOLVED
Go to solution
Joe Profaizer
Super Advisor

maxdsiz value of 0x20000000. What value does this actually mean?

I'm trying to compare kernel parameters on two different systems. One system has a maxdsiz value of 0x20000000 and the other system has a value of 2063835136.

I need to know what 0x20000000 equates to.

Thanks...
5 REPLIES 5
Jeff Schussele
Honored Contributor
Solution

Re: maxdsiz value of 0x20000000. What value does this actually mean?

Hi Joe,

It's in hexadecimal & would equate to
536870912 in decimal

Rgds,
Jeff

PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Marco Santerre
Honored Contributor

Re: maxdsiz value of 0x20000000. What value does this actually mean?

this value is in hexadecimal so 0x20000000 is equal to 536870912
Cooperation is doing with a smile what you have to do anyhow.
Tomek Gryszkiewicz
Trusted Contributor

Re: maxdsiz value of 0x20000000. What value does this actually mean?

Decimal value is 536870912 (512 MB)

-Tomek
Hartmut Regincos
Trusted Contributor

Re: maxdsiz value of 0x20000000. What value does this actually mean?

Hi,

this is HEX

20000000 in HEX = 536870912 in Dec

536870912 / 1024 /1024 = 512kb

So your system has 512kb configured for maxdsiz.

This is a nice overview about the configurable parameters and gives some hints about the ranges:
http://docs.hp.com/hpux/onlinedocs/939/KCParms/KCparams.OverviewAll.html

Best regards, Hartmut
James Murtagh
Honored Contributor

Re: maxdsiz value of 0x20000000. What value does this actually mean?

Hi Joe,

An easy way to convert the numbers is using adb. For instance, to convert hex to decimal use :

# echo 0x20000000=D | adb

To go the other way :

# echo 0d2063835136=X | adb

You can convert to octal too, although this is required less frequently. See the adb manpage for other useful features.

cheers,

James.