<?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: Using adb to change kernel parm in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/using-adb-to-change-kernel-parm/m-p/4963304#M786249</link>
    <description>Geoff-&lt;BR /&gt;"I guess what you want to do is modify the current running kernel with a new value for a non dynamic kernel parameter?"==&amp;gt;Yep.&lt;BR /&gt;&lt;BR /&gt;I was trying to avoid a reboot and have found numerous tech notes on doing this as well as a couple of posts.&lt;BR /&gt;&lt;BR /&gt;As things happened, I was able to get out of the mess without a reboot, but would have been out of the woods sooner if I could have changed that parm in the running kernel.&lt;BR /&gt;BTW- Should have included, we're on 11.0.&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;&lt;BR /&gt;-dl&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Tue, 28 Feb 2006 14:10:06 GMT</pubDate>
    <dc:creator>Dave La Mar</dc:creator>
    <dc:date>2006-02-28T14:10:06Z</dc:date>
    <item>
      <title>Using adb to change kernel parm</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-adb-to-change-kernel-parm/m-p/4963302#M786247</link>
      <description>I have read several threads on this and read the man page, but, obviously, am too stupid to figure out the syntax I am looking for.&lt;BR /&gt;&lt;BR /&gt;I had a need to =&amp;gt;"Set strmsgsz to 0 using adb"&lt;BR /&gt;In one post A. Clay indicating -&lt;BR /&gt;"It's a safe command and this is a common practice for changing kernel&lt;BR /&gt;values that otherwise can't be modified."&lt;BR /&gt;&lt;BR /&gt;Now, I realize that I should make the change via sam, etc., for a permanent change. In the scenario I had wanted to perform this, I only wanted a temporary change in order to perform a function that failed due to the current 65535 setting.&lt;BR /&gt;That said, what would be the syntax to set this to "0" using adb?&lt;BR /&gt;&lt;BR /&gt;Thanks for any and all input.&lt;BR /&gt;dl                             &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 28 Feb 2006 13:07:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-adb-to-change-kernel-parm/m-p/4963302#M786247</guid>
      <dc:creator>Dave La Mar</dc:creator>
      <dc:date>2006-02-28T13:07:30Z</dc:date>
    </item>
    <item>
      <title>Re: Using adb to change kernel parm</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-adb-to-change-kernel-parm/m-p/4963303#M786248</link>
      <description>Why not use kmtune?&lt;BR /&gt;&lt;BR /&gt;kmtune -s STRMSGSZ=0&lt;BR /&gt;&lt;BR /&gt;Course - reboot required for change to take effect...&lt;BR /&gt;&lt;BR /&gt;I guess what you want to do is modify the current running kernel with a new value for a non dynamic kernel parameter?&lt;BR /&gt;&lt;BR /&gt;That sounds pretty dangerous to me.&lt;BR /&gt;&lt;BR /&gt;Wait for Clay to answer this one  :)&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 28 Feb 2006 13:46:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-adb-to-change-kernel-parm/m-p/4963303#M786248</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2006-02-28T13:46:36Z</dc:date>
    </item>
    <item>
      <title>Re: Using adb to change kernel parm</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-adb-to-change-kernel-parm/m-p/4963304#M786249</link>
      <description>Geoff-&lt;BR /&gt;"I guess what you want to do is modify the current running kernel with a new value for a non dynamic kernel parameter?"==&amp;gt;Yep.&lt;BR /&gt;&lt;BR /&gt;I was trying to avoid a reboot and have found numerous tech notes on doing this as well as a couple of posts.&lt;BR /&gt;&lt;BR /&gt;As things happened, I was able to get out of the mess without a reboot, but would have been out of the woods sooner if I could have changed that parm in the running kernel.&lt;BR /&gt;BTW- Should have included, we're on 11.0.&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;&lt;BR /&gt;-dl&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 28 Feb 2006 14:10:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-adb-to-change-kernel-parm/m-p/4963304#M786249</guid>
      <dc:creator>Dave La Mar</dc:creator>
      <dc:date>2006-02-28T14:10:06Z</dc:date>
    </item>
    <item>
      <title>Re: Using adb to change kernel parm</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-adb-to-change-kernel-parm/m-p/4963305#M786250</link>
      <description>Okay wimps, this is how it's done although just because something can be done does not mean that it is wise. I'll assume that you have been instructed by a vendor to do this:&lt;BR /&gt;&lt;BR /&gt;To examine the current value:&lt;BR /&gt;&lt;BR /&gt;echo "strmsgsz/D" | adb -k /stand/vmunix /dev/mem&lt;BR /&gt;&lt;BR /&gt;To set the value to zero:&lt;BR /&gt;echo "strmsgsz/W 0x0" | adb -w -k /stand/vmunix /dev/mem&lt;BR /&gt;&lt;BR /&gt;You should then run the first command again to verify the change.&lt;BR /&gt;&lt;BR /&gt;/W is used to write a 4-byte value whereas /w is used to write a 2-byte value; these are the opposite of /D and /d respectively.&lt;BR /&gt;&lt;BR /&gt;I did test this on a sandbox and it lived to tell the tale.&lt;BR /&gt; &lt;BR /&gt;</description>
      <pubDate>Tue, 28 Feb 2006 14:25:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-adb-to-change-kernel-parm/m-p/4963305#M786250</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2006-02-28T14:25:59Z</dc:date>
    </item>
    <item>
      <title>Re: Using adb to change kernel parm</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-adb-to-change-kernel-parm/m-p/4963306#M786251</link>
      <description>Got it.&lt;BR /&gt;Thank you A. Clay.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;-dl</description>
      <pubDate>Tue, 28 Feb 2006 14:28:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-adb-to-change-kernel-parm/m-p/4963306#M786251</guid>
      <dc:creator>Dave La Mar</dc:creator>
      <dc:date>2006-02-28T14:28:53Z</dc:date>
    </item>
  </channel>
</rss>

