<?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: Need command to convert Hexadecimal kernal parameter value in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/need-command-to-convert-hexadecimal-kernal-parameter-value/m-p/3561961#M226677</link>
    <description>Do it as follows.&lt;BR /&gt;&lt;BR /&gt;printf "%d\n" 0x"hex_value"&lt;BR /&gt;&lt;BR /&gt;echo "0Xhex_value=D" | adb&lt;BR /&gt;&lt;BR /&gt;Anil</description>
    <pubDate>Fri, 10 Jun 2005 10:50:43 GMT</pubDate>
    <dc:creator>RAC_1</dc:creator>
    <dc:date>2005-06-10T10:50:43Z</dc:date>
    <item>
      <title>Need command to convert Hexadecimal kernal parameter value</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/need-command-to-convert-hexadecimal-kernal-parameter-value/m-p/3561959#M226675</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;   Need command or script to convert Hexadecimal kernal parameter value to Decimal value.&lt;BR /&gt;In some servers, kernal parameter values are being set in Hexadecimal. I want to see actual decimal value for semaphores and shared memory parameters setting.&lt;BR /&gt;&lt;BR /&gt;Please help for this.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Ezhil&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 10 Jun 2005 10:37:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/need-command-to-convert-hexadecimal-kernal-parameter-value/m-p/3561959#M226675</guid>
      <dc:creator>ezhilarasan_1</dc:creator>
      <dc:date>2005-06-10T10:37:37Z</dc:date>
    </item>
    <item>
      <title>Re: Need command to convert Hexadecimal kernal parameter value</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/need-command-to-convert-hexadecimal-kernal-parameter-value/m-p/3561960#M226676</link>
      <description>To convert hex to decimal:&lt;BR /&gt;&lt;BR /&gt;# printf "%#d" 0xfda456&lt;BR /&gt;&lt;BR /&gt;Where 0xfda456 is your hex number.&lt;BR /&gt;&lt;BR /&gt;To convert decimal to hex:&lt;BR /&gt;&lt;BR /&gt;# printf "%#x" 12345&lt;BR /&gt;or&lt;BR /&gt;# printf "%#X" 12345&lt;BR /&gt;&lt;BR /&gt;The only differrence in the above 2 commands is that the first will use lowercase characters and the 2nd will use upper case characters.</description>
      <pubDate>Fri, 10 Jun 2005 10:50:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/need-command-to-convert-hexadecimal-kernal-parameter-value/m-p/3561960#M226676</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2005-06-10T10:50:02Z</dc:date>
    </item>
    <item>
      <title>Re: Need command to convert Hexadecimal kernal parameter value</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/need-command-to-convert-hexadecimal-kernal-parameter-value/m-p/3561961#M226677</link>
      <description>Do it as follows.&lt;BR /&gt;&lt;BR /&gt;printf "%d\n" 0x"hex_value"&lt;BR /&gt;&lt;BR /&gt;echo "0Xhex_value=D" | adb&lt;BR /&gt;&lt;BR /&gt;Anil</description>
      <pubDate>Fri, 10 Jun 2005 10:50:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/need-command-to-convert-hexadecimal-kernal-parameter-value/m-p/3561961#M226677</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2005-06-10T10:50:43Z</dc:date>
    </item>
    <item>
      <title>Re: Need command to convert Hexadecimal kernal parameter value</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/need-command-to-convert-hexadecimal-kernal-parameter-value/m-p/3561962#M226678</link>
      <description>You can use adb.&lt;BR /&gt;&lt;BR /&gt;To convert hex 7F to decimal type:&lt;BR /&gt;&lt;BR /&gt;     echo '0x7f=D' | adb&lt;BR /&gt;&lt;BR /&gt;     You will receive the following output:&lt;BR /&gt;&lt;BR /&gt;     127&lt;BR /&gt;&lt;BR /&gt;and To convert decimal 127 to hex type:&lt;BR /&gt;&lt;BR /&gt;     echo '0d127=X' | adb&lt;BR /&gt;&lt;BR /&gt;     You will receive the following output:&lt;BR /&gt;&lt;BR /&gt;     7F</description>
      <pubDate>Fri, 10 Jun 2005 10:52:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/need-command-to-convert-hexadecimal-kernal-parameter-value/m-p/3561962#M226678</guid>
      <dc:creator>Uday_S_Ankolekar</dc:creator>
      <dc:date>2005-06-10T10:52:12Z</dc:date>
    </item>
    <item>
      <title>Re: Need command to convert Hexadecimal kernal parameter value</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/need-command-to-convert-hexadecimal-kernal-parameter-value/m-p/3561963#M226679</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;example&lt;BR /&gt;kernel parameter max_size 0X40000000&lt;BR /&gt;&lt;BR /&gt;remove the 0X&lt;BR /&gt;&lt;BR /&gt;hex to dec&lt;BR /&gt;# echo "ibase=16;40000000"|bc&lt;BR /&gt;1073741824&lt;BR /&gt;&lt;BR /&gt;dec to hex&lt;BR /&gt;# echo "obase=16;1073741824"|bc&lt;BR /&gt;40000000&lt;BR /&gt;&lt;BR /&gt;Robert-Jan</description>
      <pubDate>Fri, 10 Jun 2005 10:53:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/need-command-to-convert-hexadecimal-kernal-parameter-value/m-p/3561963#M226679</guid>
      <dc:creator>Robert-Jan Goossens</dc:creator>
      <dc:date>2005-06-10T10:53:33Z</dc:date>
    </item>
    <item>
      <title>Re: Need command to convert Hexadecimal kernal parameter value</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/need-command-to-convert-hexadecimal-kernal-parameter-value/m-p/3561964#M226680</link>
      <description>I posted kmtune.pl in &lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=65781" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=65781&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;That would not only convert dec to hex and back but also gives you filtering&lt;BR /&gt;&lt;BR /&gt;Enjoy, Have FUN! H.Merijn</description>
      <pubDate>Fri, 10 Jun 2005 11:02:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/need-command-to-convert-hexadecimal-kernal-parameter-value/m-p/3561964#M226680</guid>
      <dc:creator>H.Merijn Brand (procura</dc:creator>
      <dc:date>2005-06-10T11:02:00Z</dc:date>
    </item>
    <item>
      <title>Re: Need command to convert Hexadecimal kernal parameter value</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/need-command-to-convert-hexadecimal-kernal-parameter-value/m-p/3561965#M226681</link>
      <description>$ bs&lt;BR /&gt;ibase 16&lt;BR /&gt;10&lt;BR /&gt;16&lt;BR /&gt;q&lt;BR /&gt;$</description>
      <pubDate>Fri, 10 Jun 2005 12:11:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/need-command-to-convert-hexadecimal-kernal-parameter-value/m-p/3561965#M226681</guid>
      <dc:creator>D Block 2</dc:creator>
      <dc:date>2005-06-10T12:11:43Z</dc:date>
    </item>
    <item>
      <title>Re: Need command to convert Hexadecimal kernal parameter value</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/need-command-to-convert-hexadecimal-kernal-parameter-value/m-p/3561966#M226682</link>
      <description>If you are using SAM, it always decode the hex (and formula) values to decimal just below the setting line. There is no need to leave any parameter in hex--just type the desired decimal value. The reason some values have a default in hex is lost in antiquity...just use decimal to overwrite the hex value.</description>
      <pubDate>Fri, 10 Jun 2005 21:06:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/need-command-to-convert-hexadecimal-kernal-parameter-value/m-p/3561966#M226682</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2005-06-10T21:06:01Z</dc:date>
    </item>
    <item>
      <title>Re: Need command to convert Hexadecimal kernal parameter value</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/need-command-to-convert-hexadecimal-kernal-parameter-value/m-p/3561967#M226683</link>
      <description>Yes, I agree with Bill herein, you can change this using sam via x-windows version.</description>
      <pubDate>Fri, 10 Jun 2005 21:08:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/need-command-to-convert-hexadecimal-kernal-parameter-value/m-p/3561967#M226683</guid>
      <dc:creator>D Block 2</dc:creator>
      <dc:date>2005-06-10T21:08:23Z</dc:date>
    </item>
  </channel>
</rss>

