<?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: core_addpid kernel parameter in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/core-addpid-kernel-parameter/m-p/2818333#M85986</link>
    <description>&lt;BR /&gt;It would be dynamic, meaning when you reboot you lose this feature.&lt;BR /&gt;&lt;BR /&gt;As for 10.20, I doubt it.&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry</description>
    <pubDate>Thu, 03 Oct 2002 14:20:57 GMT</pubDate>
    <dc:creator>harry d brown jr</dc:creator>
    <dc:date>2002-10-03T14:20:57Z</dc:date>
    <item>
      <title>core_addpid kernel parameter</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-addpid-kernel-parameter/m-p/2818332#M85985</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;I read at &amp;lt;&amp;gt; that&lt;BR /&gt;&amp;lt;&amp;lt;&lt;BR /&gt;11.x has a kernel param that will append the pid to the end of the core name, so instead of just 'core' you would end up with core.nnnn. This is helpful when cores would overwrite each other. &lt;BR /&gt;&lt;BR /&gt;To turn it on: &lt;BR /&gt;&lt;BR /&gt;echo "core_addpid /w 1" | adb -w /stand/vmunix /dev/kmem&lt;BR /&gt;&amp;gt;&amp;gt; (Rick Beldin)&lt;BR /&gt;Does that mean this is a dynamically tunable kernel parameter (no need to reboot)?&lt;BR /&gt;Do I turn it off with&lt;BR /&gt;echo "core_addpid /w 0" | adb -w /stand/vmunix /dev/kmem&lt;BR /&gt;?&lt;BR /&gt;Looks like it's an undocumented feature...&lt;BR /&gt;Is there such a feature in 10.20?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance.&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;&lt;BR /&gt;JMF&lt;BR /&gt;</description>
      <pubDate>Thu, 03 Oct 2002 14:14:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-addpid-kernel-parameter/m-p/2818332#M85985</guid>
      <dc:creator>Jean-Michel Frippiat</dc:creator>
      <dc:date>2002-10-03T14:14:59Z</dc:date>
    </item>
    <item>
      <title>Re: core_addpid kernel parameter</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-addpid-kernel-parameter/m-p/2818333#M85986</link>
      <description>&lt;BR /&gt;It would be dynamic, meaning when you reboot you lose this feature.&lt;BR /&gt;&lt;BR /&gt;As for 10.20, I doubt it.&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry</description>
      <pubDate>Thu, 03 Oct 2002 14:20:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-addpid-kernel-parameter/m-p/2818333#M85986</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2002-10-03T14:20:57Z</dc:date>
    </item>
    <item>
      <title>Re: core_addpid kernel parameter</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-addpid-kernel-parameter/m-p/2818334#M85987</link>
      <description>if we want the change to be 'permanent' (until the next kernel build) we do&lt;BR /&gt; echo "core_addpid/W 1" | adb -k -w /stand/vmunix /dev/mem&lt;BR /&gt; echo "core_addpid?W 1" | adb -k -w /stand/vmunix /dev/mem&lt;BR /&gt; &lt;BR /&gt;With&lt;BR /&gt; adb -k -w /stand/vmunix /dev/mem&lt;BR /&gt;"?" acts in /stand/vmunix as object file &lt;BR /&gt;"/" acts in /dev/mem&lt;BR /&gt;"W" writes, "X" displays the referenced symbol as hex value, "D" as decimal.&lt;BR /&gt;"$h" help page&lt;BR /&gt;"$q" quit&lt;BR /&gt; &lt;BR /&gt;To make that easier to use we script this as:&lt;BR /&gt;root@prelude[] cat /tmp/corepid    &lt;BR /&gt;case $1 in&lt;BR /&gt;        on)     echo "core_addpid/W 1\ncore_addpid?W 1"  | adb -w -k /stand/vmunix /dev/mem;;&lt;BR /&gt;        off)    echo "core_addpid/W 0\ncore_addpid?W 0"  | adb -w -k /stand/vmunix /dev/mem;;&lt;BR /&gt;        stat)   echo "core_addpid/D\ncore_addpid?D" | adb -w -k /stand/vmunix /dev/mem;;&lt;BR /&gt;        *) echo "usage $0: on|off|stat";;&lt;BR /&gt;esac&lt;BR /&gt;root@prelude[] /tmp/corepid stat                       &lt;BR /&gt;core_addpid:&lt;BR /&gt;core_addpid:    0&lt;BR /&gt;core_addpid:&lt;BR /&gt;core_addpid:    0&lt;BR /&gt;root@prelude[] /tmp/corepid on  &lt;BR /&gt;core_addpid:    0               =       1&lt;BR /&gt;core_addpid:    0               =       1&lt;BR /&gt;root@prelude[] /tmp/corepid stat&lt;BR /&gt;core_addpid:&lt;BR /&gt;core_addpid:    1&lt;BR /&gt;core_addpid:&lt;BR /&gt;core_addpid:    1&lt;BR /&gt;root@prelude[] /tmp/corepid off &lt;BR /&gt;core_addpid:    1               =       0&lt;BR /&gt;core_addpid:    1               =       0&lt;BR /&gt;root@prelude[] uname -a; model&lt;BR /&gt;HP-UX prelude B.11.11 U 9000/800 619309303 unlimited-user license&lt;BR /&gt;9000/800/N4000-36&lt;BR /&gt;root@prelude[] &lt;BR /&gt;</description>
      <pubDate>Fri, 25 Oct 2002 11:44:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-addpid-kernel-parameter/m-p/2818334#M85987</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2002-10-25T11:44:30Z</dc:date>
    </item>
  </channel>
</rss>

