<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to Read Hex? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-read-hex/m-p/2672817#M916586</link>
    <description>The printf fails in ksh because the number is larger than the interal representation of %d.  &lt;BR /&gt;&lt;BR /&gt;Come on guys!  Use the 'bc' command.. it doesn't get any simpler than that.&lt;BR /&gt;&lt;BR /&gt;bc successfully printed this out:&lt;BR /&gt;&lt;BR /&gt;$ bc&lt;BR /&gt;ibase=16&lt;BR /&gt;C00000000000000000000000000000000000&lt;BR /&gt;16725558898897967356151788704486271129485312&lt;BR /&gt;&lt;BR /&gt;That's a rather large number.  It'll go much larger, but then it'd wrap and look nasty.. &lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Wed, 27 Feb 2002 20:18:40 GMT</pubDate>
    <dc:creator>Eric Ladner</dc:creator>
    <dc:date>2002-02-27T20:18:40Z</dc:date>
    <item>
      <title>How to Read Hex?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-read-hex/m-p/2672805#M916574</link>
      <description>I am not a math major here.. But I was wondering if someone had a formula on how to read hex? I am talking about kernel parms like  maxdsiz,maxtsiz,maxssiz and so on. I have been looking around and came up with 200mb in hex is 0xc8000000. Is this right? Is this number what I would put in maxdize? I am just wondering how hex works. And how you read it. And if I am coverting right. &lt;BR /&gt;&lt;BR /&gt;Richard</description>
      <pubDate>Wed, 27 Feb 2002 18:05:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-read-hex/m-p/2672805#M916574</guid>
      <dc:creator>someone_4</dc:creator>
      <dc:date>2002-02-27T18:05:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to Read Hex?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-read-hex/m-p/2672806#M916575</link>
      <description>#&lt;BR /&gt;echo 8000000 | awk '&lt;BR /&gt;{&lt;BR /&gt;   hexstr="0123456789abcdef"&lt;BR /&gt;   newnum=tolower($1)&lt;BR /&gt;   slen = length(newnum)&lt;BR /&gt;   decnum = 0&lt;BR /&gt;   for (i=1; i &amp;lt; slen+1;i++)&lt;BR /&gt;   {&lt;BR /&gt;      tpos = index(hexstr,substr(newnum,i,1)) - 1&lt;BR /&gt;      decnum = decnum + ( (16 ** (slen -i)) * tpos)&lt;BR /&gt;   }&lt;BR /&gt;   printf("%s is %d\n",newnum,decnum)&lt;BR /&gt;} '&lt;BR /&gt;# &lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry&lt;BR /&gt;</description>
      <pubDate>Wed, 27 Feb 2002 18:11:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-read-hex/m-p/2672806#M916575</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2002-02-27T18:11:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to Read Hex?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-read-hex/m-p/2672807#M916576</link>
      <description>Richard,&lt;BR /&gt;&lt;BR /&gt;Of course, if you have a M$/puke machine, it's calculator has a HEX to DEC conversion.&lt;BR /&gt;&lt;BR /&gt;And better yet,&lt;BR /&gt;&lt;BR /&gt;/usr/dt/bin/dtcalcin/dtcalc&lt;BR /&gt;&lt;BR /&gt;has a HEX option!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;live free or die&lt;BR /&gt;harry&lt;BR /&gt;</description>
      <pubDate>Wed, 27 Feb 2002 18:15:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-read-hex/m-p/2672807#M916576</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2002-02-27T18:15:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to Read Hex?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-read-hex/m-p/2672808#M916577</link>
      <description>For those kernel parms, you don't have to convert the value to hex.  You can just enter the value in bytes into the field in SAM and it will be converted automagically.&lt;BR /&gt;&lt;BR /&gt;200MB = 200 x 1024 x 1024 = 209715200 bytes</description>
      <pubDate>Wed, 27 Feb 2002 18:19:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-read-hex/m-p/2672808#M916577</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2002-02-27T18:19:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to Read Hex?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-read-hex/m-p/2672809#M916578</link>
      <description>So the Calculated Value:  67108864 is in bytes?&lt;BR /&gt;So right now I have 67108864 b = 65.536 MB ?&lt;BR /&gt;&lt;BR /&gt;Richard&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 27 Feb 2002 18:25:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-read-hex/m-p/2672809#M916578</guid>
      <dc:creator>someone_4</dc:creator>
      <dc:date>2002-02-27T18:25:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to Read Hex?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-read-hex/m-p/2672810#M916579</link>
      <description>Hi Richard:&lt;BR /&gt;&lt;BR /&gt;You can also do this at commandline:&lt;BR /&gt;&lt;BR /&gt;# printf "%d\n" 0xfff&lt;BR /&gt;&lt;BR /&gt;...which would return decimal 4095...and inversely:&lt;BR /&gt;&lt;BR /&gt;# printf "%x\n" 4095&lt;BR /&gt;&lt;BR /&gt;...which returns 0xfff&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Wed, 27 Feb 2002 18:26:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-read-hex/m-p/2672810#M916579</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2002-02-27T18:26:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to Read Hex?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-read-hex/m-p/2672811#M916580</link>
      <description>8000000&lt;BR /&gt;&lt;BR /&gt;looks like this:&lt;BR /&gt;8 * 16,777,216 (# * (16^6))&lt;BR /&gt;0 * _10,48,576 (# * (16^5))&lt;BR /&gt;0 * ____65,536 (# * (16^4))&lt;BR /&gt;0 * _____4,096 (# * (16^3))&lt;BR /&gt;0 * _______256 (# * (16^2))&lt;BR /&gt;0 * ________16 (# * (16^1))&lt;BR /&gt;0 * _________1 (# * (16^0)) -- remember 16^0 = 1&lt;BR /&gt;--------------&lt;BR /&gt;== 134,217,728&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;And yes, 0x4000000 = 67,108,864 bytes = 64MB (64 * 1024 * 1024)&lt;BR /&gt;&lt;BR /&gt;l;ive free or die&lt;BR /&gt;harry</description>
      <pubDate>Wed, 27 Feb 2002 18:27:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-read-hex/m-p/2672811#M916580</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2002-02-27T18:27:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to Read Hex?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-read-hex/m-p/2672812#M916581</link>
      <description>Another quick way is to use bc and set ibase and obase respectively.&lt;BR /&gt;&lt;BR /&gt;To convert from decimal to hex (we are setting the output base 16, leaving input at 10):&lt;BR /&gt;&lt;BR /&gt;$ bc -l&lt;BR /&gt;obase=16&lt;BR /&gt;256*1024*1024&lt;BR /&gt;10000000&lt;BR /&gt;255&lt;BR /&gt;FF&lt;BR /&gt;quit&lt;BR /&gt;&lt;BR /&gt;To convert hex numbers to decimal (we are setting the input base to base 16, leaving the output base at 10)&lt;BR /&gt;&lt;BR /&gt;$ bc -l&lt;BR /&gt;ibase=16&lt;BR /&gt;FF&lt;BR /&gt;255&lt;BR /&gt;40000000&lt;BR /&gt;1073741824&lt;BR /&gt;FFFF&lt;BR /&gt;65535&lt;BR /&gt;quit&lt;BR /&gt;&lt;BR /&gt;Note that the hex numbers entered MUST be in upper case to work, otherwise you will get syntax errors.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 27 Feb 2002 18:31:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-read-hex/m-p/2672812#M916581</guid>
      <dc:creator>Eric Ladner</dc:creator>
      <dc:date>2002-02-27T18:31:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to Read Hex?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-read-hex/m-p/2672813#M916582</link>
      <description>printf "%d\n" 0xc8000000&lt;BR /&gt;printf:  Error converting 0xc8000000&lt;BR /&gt;2147483647&lt;BR /&gt;&lt;BR /&gt;printf "%x\n" 200 c8&lt;BR /&gt;&lt;BR /&gt;printf "%d\n" 0xc8 200&lt;BR /&gt;&lt;BR /&gt;what about the last 000000? Do they not count?&lt;BR /&gt;&lt;BR /&gt;Richard</description>
      <pubDate>Wed, 27 Feb 2002 18:31:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-read-hex/m-p/2672813#M916582</guid>
      <dc:creator>someone_4</dc:creator>
      <dc:date>2002-02-27T18:31:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to Read Hex?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-read-hex/m-p/2672814#M916583</link>
      <description>Richard,&lt;BR /&gt;&lt;BR /&gt;I suspect you are in the k-shell when doing the printf and getting the error.  Switch to the posix shell (/usr/bin/sh or /sbin/sh) and you won't have a problem.&lt;BR /&gt;&lt;BR /&gt;And YES, the 0's at the end DEFINITELY DO MATTER.  Chopping the 0's off of the end of the hex # would be about like chopping the last 5 zeros off of 1000000.  10 != 1000000 and 0xc8 != 0xc8000000&lt;BR /&gt;&lt;BR /&gt;0xc8 = 200&lt;BR /&gt;0xc8000000=2,147,483,647 = 2GB</description>
      <pubDate>Wed, 27 Feb 2002 18:40:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-read-hex/m-p/2672814#M916583</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2002-02-27T18:40:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to Read Hex?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-read-hex/m-p/2672815#M916584</link>
      <description>most simplistic thing i can think of is to use javascript.&lt;BR /&gt;&lt;BR /&gt;####.toString(10)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;where #### is the hex number&lt;BR /&gt;&lt;BR /&gt;here's a quickly written html page to use. double check that i have it right before using it. you might have to alert toString that the number is NOT base 10.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;  &lt;BR /&gt;    &lt;FORM name="todec"&gt;&lt;BR /&gt;      &lt;INPUT type="text" name="hex" width="10" /&gt;&lt;BR /&gt;      &lt;INPUT type="button" onclick="convert()" value="convert" /&gt;&lt;BR /&gt;      &lt;INPUT type="text" name="dec" width="10" /&gt;&lt;BR /&gt;    &lt;/FORM&gt;&lt;BR /&gt;   &amp;lt;script language=javascript&amp;gt;&lt;BR /&gt;      function convert(){&lt;BR /&gt;        var hexnum=(document.todec.hex.value);&lt;BR /&gt;        document.todec.dec.value=(hex.toString(10));&lt;BR /&gt;         };}&lt;BR /&gt;      &amp;lt;/script&amp;gt;&lt;BR /&gt;   &lt;BR /&gt;</description>
      <pubDate>Wed, 27 Feb 2002 19:20:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-read-hex/m-p/2672815#M916584</guid>
      <dc:creator>Josh_13</dc:creator>
      <dc:date>2002-02-27T19:20:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to Read Hex?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-read-hex/m-p/2672816#M916585</link>
      <description>define irony:&lt;BR /&gt;&lt;BR /&gt;taking a minute to write what i wrote before, then coming across this thread, &lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x077350011d20d6118ff40090279cd0f9,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x077350011d20d6118ff40090279cd0f9,00.html&lt;/A&gt; when searching for the success thread to add my latest one to that.&lt;BR /&gt;(n/a for this. it was dumb luck that i found the thread.)</description>
      <pubDate>Wed, 27 Feb 2002 19:36:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-read-hex/m-p/2672816#M916585</guid>
      <dc:creator>Josh_13</dc:creator>
      <dc:date>2002-02-27T19:36:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to Read Hex?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-read-hex/m-p/2672817#M916586</link>
      <description>The printf fails in ksh because the number is larger than the interal representation of %d.  &lt;BR /&gt;&lt;BR /&gt;Come on guys!  Use the 'bc' command.. it doesn't get any simpler than that.&lt;BR /&gt;&lt;BR /&gt;bc successfully printed this out:&lt;BR /&gt;&lt;BR /&gt;$ bc&lt;BR /&gt;ibase=16&lt;BR /&gt;C00000000000000000000000000000000000&lt;BR /&gt;16725558898897967356151788704486271129485312&lt;BR /&gt;&lt;BR /&gt;That's a rather large number.  It'll go much larger, but then it'd wrap and look nasty.. &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 27 Feb 2002 20:18:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-read-hex/m-p/2672817#M916586</guid>
      <dc:creator>Eric Ladner</dc:creator>
      <dc:date>2002-02-27T20:18:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to Read Hex?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-read-hex/m-p/2672818#M916587</link>
      <description>I understand !! whoo hooo !!!&lt;BR /&gt;hex is 16 based ! &lt;BR /&gt;&lt;BR /&gt;so here we go .. &lt;BR /&gt;&lt;BR /&gt;0x4000000 = 67,108,864 bytes = 64MB (64 * 1024 * 1024)&lt;BR /&gt;&lt;BR /&gt;If I want 200MB &lt;BR /&gt;&lt;BR /&gt;200MB=(200*1024*1024)= 209715200 bytes = C8000000&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;c8000000 is not = 2,147,483,647 = or 2GB &lt;BR /&gt;&lt;BR /&gt;the hex covert says &lt;BR /&gt;2,147,483,647 B  =  7FFFFFFF in hex&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;and&lt;BR /&gt; &lt;BR /&gt;c8000000 = 3355443200 bytes = 3200 mb = 3 GB&lt;BR /&gt;&lt;BR /&gt;It looks like the hex calc and bc are always form bytes to hex .right?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;So using the hex coverter&lt;BR /&gt;&lt;BR /&gt;0x4000000 = 64 MB&lt;BR /&gt;and I am wanting to bump it up to 200MB&lt;BR /&gt;so I would use&lt;BR /&gt;0xc8000000&lt;BR /&gt;or more simple for 128MB&lt;BR /&gt;0x8000000&lt;BR /&gt;&lt;BR /&gt;Here it all is using the bc. &lt;BR /&gt;&lt;BR /&gt;#bc -l&lt;BR /&gt;ibase=16&lt;BR /&gt;C8000000&lt;BR /&gt;3355443200&lt;BR /&gt;8000000&lt;BR /&gt;134217728&lt;BR /&gt;C8000000&lt;BR /&gt;3355443200&lt;BR /&gt;4000000&lt;BR /&gt;67108864&lt;BR /&gt;8000000&lt;BR /&gt;134217728&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;#bc -l&lt;BR /&gt;obase&lt;BR /&gt;10&lt;BR /&gt;obase=16&lt;BR /&gt;256*1024*1024&lt;BR /&gt;10000000&lt;BR /&gt;2147183647&lt;BR /&gt;7FFB6C1F&lt;BR /&gt;67108846&lt;BR /&gt;3FFFFEE&lt;BR /&gt;67108864846&lt;BR /&gt;FA000034E&lt;BR /&gt;67108864&lt;BR /&gt;4000000&lt;BR /&gt;3355443200&lt;BR /&gt;C8000000&lt;BR /&gt;134217728&lt;BR /&gt;8000000&lt;BR /&gt;quit</description>
      <pubDate>Wed, 27 Feb 2002 20:35:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-read-hex/m-p/2672818#M916587</guid>
      <dc:creator>someone_4</dc:creator>
      <dc:date>2002-02-27T20:35:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to Read Hex?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-read-hex/m-p/2672819#M916588</link>
      <description>You are getting a bit 0 happy when typing Richard.&lt;BR /&gt;&lt;BR /&gt;200 MB = c800000 (only 5 zero's)&lt;BR /&gt;&lt;BR /&gt;2GB = 80000000 (7 zero's)&lt;BR /&gt;&lt;BR /&gt;3.125 GB = c8000000 (6 zero's)&lt;BR /&gt;&lt;BR /&gt;Make VERY sure you type the correct # of zero's.  They are VERY significant. (The difference between hundreds, thousands, millions, billions)</description>
      <pubDate>Wed, 27 Feb 2002 20:44:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-read-hex/m-p/2672819#M916588</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2002-02-27T20:44:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to Read Hex?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-read-hex/m-p/2672820#M916589</link>
      <description>Ha ha .. &lt;BR /&gt;I just caught that my self and was doing that math ..&lt;BR /&gt;&lt;BR /&gt;(NET-lupus) /# bc -l&lt;BR /&gt;ibase=16&lt;BR /&gt;C8000000&lt;BR /&gt;3355443200&lt;BR /&gt;7FFFFFFF&lt;BR /&gt;2147483647&lt;BR /&gt;quit &lt;BR /&gt;(NET-lupus) /# bc -l&lt;BR /&gt;obase=16&lt;BR /&gt;256*1024*1024&lt;BR /&gt;10000000&lt;BR /&gt;209715200&lt;BR /&gt;C800000&lt;BR /&gt;3355443200&lt;BR /&gt;C8000000&lt;BR /&gt;&lt;BR /&gt;You are very right though =)&lt;BR /&gt;I have to watch that ..&lt;BR /&gt;&lt;BR /&gt;Richard</description>
      <pubDate>Wed, 27 Feb 2002 20:48:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-read-hex/m-p/2672820#M916589</guid>
      <dc:creator>someone_4</dc:creator>
      <dc:date>2002-02-27T20:48:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to Read Hex?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-read-hex/m-p/2672821#M916590</link>
      <description>Richard,&lt;BR /&gt;&lt;BR /&gt;c8000000 is not = 2,147,483,647 = or 2GB&lt;BR /&gt;&lt;BR /&gt;is correct, because C8000000 is 200MB (200 * 1024 * 1024), whereas 2GB is (2 * 1024 * 1024 * 1024) = 2147483648 = 0x80000000.&lt;BR /&gt;&lt;BR /&gt;and 256MB is (256 * 1024 * 1024) = 268435456 = 0x10000000&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry</description>
      <pubDate>Wed, 27 Feb 2002 20:57:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-read-hex/m-p/2672821#M916590</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2002-02-27T20:57:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to Read Hex?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-read-hex/m-p/2672822#M916591</link>
      <description>Hex is just too much fun =)&lt;BR /&gt;Would anyone happened to know how they get theese numbers from hex to decimal and back. Is there an acutal math formula?&lt;BR /&gt;&lt;BR /&gt;Richard</description>
      <pubDate>Wed, 27 Feb 2002 21:05:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-read-hex/m-p/2672822#M916591</guid>
      <dc:creator>someone_4</dc:creator>
      <dc:date>2002-02-27T21:05:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to Read Hex?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-read-hex/m-p/2672823#M916592</link>
      <description>Just take Harr's response and expand on it:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;# * (16^16)= ???&lt;BR /&gt;# * (16^15)= ???&lt;BR /&gt;# * (16^14)= ???&lt;BR /&gt;# * (16^13)= ???&lt;BR /&gt;# * (16^12)= ???&lt;BR /&gt;# * (16^11)= ???&lt;BR /&gt;# * (16^10)= ???&lt;BR /&gt;# * (16^9)= ???&lt;BR /&gt;# * (16^8)= ???&lt;BR /&gt;# * (16^7)= ???&lt;BR /&gt;# * (16^6)= ???&lt;BR /&gt;# * (16^5)= ???&lt;BR /&gt;# * (16^4)= ???&lt;BR /&gt;# * (16^3)= ???&lt;BR /&gt;# * (16^2)= ???&lt;BR /&gt;# * (16^1)= ???&lt;BR /&gt;# * (16^0)= ??? -  remember 16^0 = 1&lt;BR /&gt;and then add them all together to get your value.  There really is no other magic formula.&lt;BR /&gt;&lt;BR /&gt;In hex the "number" range from 0-9 then a-f.  So if you were counting it would be:&lt;BR /&gt;0,1,2,3,4,5,6,7,8,9,a,b,c,d,e,f,10,11,12&lt;BR /&gt;where a=10, b=11, c=12, d=13, e=14, f=15.&lt;BR /&gt;&lt;BR /&gt;So lets convert a hex to decimal:&lt;BR /&gt;&lt;BR /&gt;fba563&lt;BR /&gt;&lt;BR /&gt;f = 15 = 15 * (16^5) = 15 * 1048576 = 15728640&lt;BR /&gt;b = 11 = 11 * (16^4) = 11 * 65546 = 720,896&lt;BR /&gt;a = 10 = 10 * (16^3) = 10 * 4096 = 40960&lt;BR /&gt;5 = 5 * (16^2) = 5 * 256 = 1280&lt;BR /&gt;6 = 6 * (16^1) = 6 * 16 = 96&lt;BR /&gt;3 = 3 * (16^0) = 3 * 1 = 3&lt;BR /&gt;&lt;BR /&gt;Now add up 15,728,640 + 720,896 + 40,960 + 1,280 + 96 + 3 = 16,491,875&lt;BR /&gt;&lt;BR /&gt;You basically start with the last digit and multiply it by 16^0 (16 to the power of 0) and work your way back to the left incrementing the power by 1 each time (16^1, 16^2, etc.)&lt;BR /&gt;&lt;BR /&gt;Understand?</description>
      <pubDate>Wed, 27 Feb 2002 21:20:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-read-hex/m-p/2672823#M916592</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2002-02-27T21:20:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to Read Hex?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-read-hex/m-p/2672824#M916593</link>
      <description>Just a personal view..&lt;BR /&gt;&lt;BR /&gt;I'd use 256MB for maxdsiz instead of an 'odd' number (that's 10000000 in hex, or a 1 with 7 zeros).  &lt;BR /&gt;&lt;BR /&gt;Call me funny, but I like to keep the kernel params nice round numbers, especially when dealing with memory.&lt;BR /&gt;&lt;BR /&gt;Also, there's nothgin wrong (that I can tell) of setting maxdsiz to the amount of physical memory on the box.</description>
      <pubDate>Wed, 27 Feb 2002 21:27:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-read-hex/m-p/2672824#M916593</guid>
      <dc:creator>Eric Ladner</dc:creator>
      <dc:date>2002-02-27T21:27:38Z</dc:date>
    </item>
  </channel>
</rss>

