<?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 generate stackdump of a program on HP-UX in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/how-to-generate-stackdump-of-a-program-on-hp-ux/m-p/3741245#M101313</link>
    <description>I couldn't get "getcore &lt;PID&gt;" to work.  Are you talking about the getcore command in gdb?  When I execute `help getcore` in gdb, it tells me the correct usage of getcore is: getcore [ &lt;PACKCORE_DIR&gt; ].  It doesn't look like it takes pid as an argument.  Is there another getcore command that you're referring to?&lt;/PACKCORE_DIR&gt;&lt;/PID&gt;</description>
    <pubDate>Wed, 01 Mar 2006 14:30:23 GMT</pubDate>
    <dc:creator>Leo Lai</dc:creator>
    <dc:date>2006-03-01T14:30:23Z</dc:date>
    <item>
      <title>How to generate stackdump of a program on HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-generate-stackdump-of-a-program-on-hp-ux/m-p/3741243#M101311</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;On Solaris, it's easy to generate a stackdump of a program.  I just execute pstack &lt;PID&gt;.  Is there a similar way to do this on HP-UX?  I want to write a script that generates period stackdumps of a C++ process without killing the process.&lt;BR /&gt;&lt;BR /&gt;Thanks!&lt;/PID&gt;</description>
      <pubDate>Tue, 28 Feb 2006 19:57:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-generate-stackdump-of-a-program-on-hp-ux/m-p/3741243#M101311</guid>
      <dc:creator>Leo Lai</dc:creator>
      <dc:date>2006-02-28T19:57:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate stackdump of a program on HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-generate-stackdump-of-a-program-on-hp-ux/m-p/3741244#M101312</link>
      <description>In hpux the command is called getcore &lt;PID&gt;&lt;BR /&gt;&lt;BR /&gt;The following link should get you started.&lt;BR /&gt;&lt;A href="http://h21007.www2.hp.com/dspp/tech/tech_TechSoftwareDetailPage_IDX/1,1703,1662,00.html" target="_blank"&gt;http://h21007.www2.hp.com/dspp/tech/tech_TechSoftwareDetailPage_IDX/1,1703,1662,00.html&lt;/A&gt;&lt;/PID&gt;</description>
      <pubDate>Tue, 28 Feb 2006 20:31:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-generate-stackdump-of-a-program-on-hp-ux/m-p/3741244#M101312</guid>
      <dc:creator>Alain Tesserot</dc:creator>
      <dc:date>2006-02-28T20:31:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate stackdump of a program on HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-generate-stackdump-of-a-program-on-hp-ux/m-p/3741245#M101313</link>
      <description>I couldn't get "getcore &lt;PID&gt;" to work.  Are you talking about the getcore command in gdb?  When I execute `help getcore` in gdb, it tells me the correct usage of getcore is: getcore [ &lt;PACKCORE_DIR&gt; ].  It doesn't look like it takes pid as an argument.  Is there another getcore command that you're referring to?&lt;/PACKCORE_DIR&gt;&lt;/PID&gt;</description>
      <pubDate>Wed, 01 Mar 2006 14:30:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-generate-stackdump-of-a-program-on-hp-ux/m-p/3741245#M101313</guid>
      <dc:creator>Leo Lai</dc:creator>
      <dc:date>2006-03-01T14:30:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate stackdump of a program on HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-generate-stackdump-of-a-program-on-hp-ux/m-p/3741246#M101314</link>
      <description>Hi Leo:&lt;BR /&gt;&lt;BR /&gt;If you are Itanium based, have a look at the manpages for 'U_STACK_TRACE(3X)' and 'unwind(5)'.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Wed, 01 Mar 2006 14:37:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-generate-stackdump-of-a-program-on-hp-ux/m-p/3741246#M101314</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2006-03-01T14:37:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate stackdump of a program on HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-generate-stackdump-of-a-program-on-hp-ux/m-p/3741247#M101315</link>
      <description>not sure what a stackdump is but bt in gdb aka backtrace maybe what you are after ?</description>
      <pubDate>Wed, 01 Mar 2006 14:40:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-generate-stackdump-of-a-program-on-hp-ux/m-p/3741247#M101315</guid>
      <dc:creator>Alex Glennie</dc:creator>
      <dc:date>2006-03-01T14:40:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate stackdump of a program on HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-generate-stackdump-of-a-program-on-hp-ux/m-p/3741248#M101316</link>
      <description>Thanks all, but a developer at my company has provided me with the simplest way.  I will share it with you here:&lt;BR /&gt;&lt;BR /&gt;&amp;gt; gdb $EXE -pid $PID -command /home2/devuser3/bin/dropStack.txt &amp;gt; $OUTPUTFILE&lt;BR /&gt;&lt;BR /&gt;$EXE is the full path to the executable,&lt;BR /&gt;$PID is the pid&lt;BR /&gt;$OUTPUTFILE is where you want to redirect output to&lt;BR /&gt;&lt;BR /&gt;The content of the dropStack.txt file is:&lt;BR /&gt;set height 0&lt;BR /&gt;thread apply all bt&lt;BR /&gt;detach&lt;BR /&gt;quit</description>
      <pubDate>Wed, 01 Mar 2006 14:46:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-generate-stackdump-of-a-program-on-hp-ux/m-p/3741248#M101316</guid>
      <dc:creator>Leo Lai</dc:creator>
      <dc:date>2006-03-01T14:46:39Z</dc:date>
    </item>
  </channel>
</rss>

