<?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 file location in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/core-file-location/m-p/3548524#M224512</link>
    <description>hi David.&lt;BR /&gt;create a soft link to redirect the core to another location.&lt;BR /&gt;&lt;BR /&gt;regards.&lt;BR /&gt;Henk&lt;BR /&gt;</description>
    <pubDate>Fri, 20 May 2005 03:55:34 GMT</pubDate>
    <dc:creator>Henk Geurts</dc:creator>
    <dc:date>2005-05-20T03:55:34Z</dc:date>
    <item>
      <title>core file location</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-file-location/m-p/3548519#M224507</link>
      <description>Does anyone know a way on HP-UX 11.x to change the location in which the core file of a process will appear, beside setting the working directory before the process is started? On 10.x we had savecore, but it does not exist on the 11.X any more (or was I simply unable to find it?).&lt;BR /&gt;&lt;BR /&gt;All answers appreciated.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Davor.</description>
      <pubDate>Fri, 20 May 2005 02:38:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-file-location/m-p/3548519#M224507</guid>
      <dc:creator>Davor Matijasevic</dc:creator>
      <dc:date>2005-05-20T02:38:10Z</dc:date>
    </item>
    <item>
      <title>Re: core file location</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-file-location/m-p/3548520#M224508</link>
      <description>As you said, core file is generated in the working directory of the program. You can do a wrapper to cd before launching program, but, it may not be a good idea to generate core files in the same place, as long as they have the same name...&lt;BR /&gt;Anyway, if the program do a cd itself, there's nothing you can do (AFAIK).&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Fred&lt;BR /&gt;</description>
      <pubDate>Fri, 20 May 2005 02:45:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-file-location/m-p/3548520#M224508</guid>
      <dc:creator>Fred Ruffet</dc:creator>
      <dc:date>2005-05-20T02:45:26Z</dc:date>
    </item>
    <item>
      <title>Re: core file location</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-file-location/m-p/3548521#M224509</link>
      <description>pls find&lt;BR /&gt;#find / -name core -exec ll {} \;&lt;BR /&gt;you will find out the location of each core file.&lt;BR /&gt;tienna</description>
      <pubDate>Fri, 20 May 2005 02:56:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-file-location/m-p/3548521#M224509</guid>
      <dc:creator>Nguyen Anh Tien</dc:creator>
      <dc:date>2005-05-20T02:56:54Z</dc:date>
    </item>
    <item>
      <title>Re: core file location</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-file-location/m-p/3548522#M224510</link>
      <description>I thought savecore was used to save system dumps, not core files from user processes. If this is the case, the equivalent in HP-UX11 is the /etc/rc.config.d/savecrash config file.&lt;BR /&gt;&lt;BR /&gt;I haven't used 10.20 for a while, so apologies if my memory isn't what it ought to be.</description>
      <pubDate>Fri, 20 May 2005 03:32:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-file-location/m-p/3548522#M224510</guid>
      <dc:creator>Stephen Keane</dc:creator>
      <dc:date>2005-05-20T03:32:23Z</dc:date>
    </item>
    <item>
      <title>Re: core file location</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-file-location/m-p/3548523#M224511</link>
      <description>Oh, and the savecrash (1M) command!</description>
      <pubDate>Fri, 20 May 2005 03:33:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-file-location/m-p/3548523#M224511</guid>
      <dc:creator>Stephen Keane</dc:creator>
      <dc:date>2005-05-20T03:33:24Z</dc:date>
    </item>
    <item>
      <title>Re: core file location</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-file-location/m-p/3548524#M224512</link>
      <description>hi David.&lt;BR /&gt;create a soft link to redirect the core to another location.&lt;BR /&gt;&lt;BR /&gt;regards.&lt;BR /&gt;Henk&lt;BR /&gt;</description>
      <pubDate>Fri, 20 May 2005 03:55:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-file-location/m-p/3548524#M224512</guid>
      <dc:creator>Henk Geurts</dc:creator>
      <dc:date>2005-05-20T03:55:34Z</dc:date>
    </item>
    <item>
      <title>Re: core file location</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-file-location/m-p/3548525#M224513</link>
      <description>Hi all!&lt;BR /&gt;&lt;BR /&gt;Savecore can be used to save process cores as well, it was very useful and I was sorry to see it go away. Savecrash, on the other hand, can only be used for system crashes which to be honest scares me a little - we are in a way warned to expect system crashes so there's no point in worrying over process coredumps :)&lt;BR /&gt;&lt;BR /&gt;Thanks to all for your replies, it seems that doing a cd is the only way around it, since we already tried the softlink but we can not use it for reasons I will not mention it on a public forum :)</description>
      <pubDate>Fri, 20 May 2005 08:27:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-file-location/m-p/3548525#M224513</guid>
      <dc:creator>Davor Matijasevic</dc:creator>
      <dc:date>2005-05-20T08:27:18Z</dc:date>
    </item>
    <item>
      <title>Re: core file location</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-file-location/m-p/3548526#M224514</link>
      <description>savecore (on your 10.20 systems) must have been a custom program. After checking several 10.20 systems, savecore is strictly an OS crashdump processor and has no options to control program core dumps. savecore is actually an after-crash processor. It is run during reboot to check the dump area for a valid crash and copies the raw data into a file or to a tape.&lt;BR /&gt; &lt;BR /&gt;savecrash performs the same function in 11.xx and later. Every operating system can crash, especially if it is not up to date on patches. But in both cases, savecrash and savecore performa the same task: copy an HP-UX crashdump into a file or onto a tape.&lt;BR /&gt; &lt;BR /&gt;When a program crashes, the OS follows a standard set of steps to create a core file. The first is to check the environment for a ulimit value that restricts the size of a core file. If the core option is 0, the core dump is aborted and no file is created. Otherwise, the size of the core file is limit ed to the setting of ulimit -c.&lt;BR /&gt; &lt;BR /&gt;Creating a core file has a fairly significant impact on the system, especially multi-processor systems where all processors must be signaled with a spinlock. The spinlock limits all processors to not run certain parts of the OS until the core dump is complete.&lt;BR /&gt; &lt;BR /&gt;To eliminate all core files, the simplest way is to run ulimit -c 0 which sets the size of a core file to zero (which equals no file). If yuou have developers writing (fixing?) code, you can put:&lt;BR /&gt; &lt;BR /&gt;ulimit -Scc 0&lt;BR /&gt; &lt;BR /&gt;in /etc/profile and now the default will be be zero core files unless the user changes ulimit -c to a non-zero value. NOTE: ulimit options are not available in ksh until the most recent patch for ksh. It has been always available with the HP-UX POSIX shell.</description>
      <pubDate>Sat, 21 May 2005 09:18:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-file-location/m-p/3548526#M224514</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2005-05-21T09:18:26Z</dc:date>
    </item>
    <item>
      <title>Re: core file location</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-file-location/m-p/3548527#M224515</link>
      <description>Note: ulimit -Sc 0&lt;BR /&gt;The extra c was a keyboard glitch.</description>
      <pubDate>Sun, 22 May 2005 21:57:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-file-location/m-p/3548527#M224515</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2005-05-22T21:57:34Z</dc:date>
    </item>
  </channel>
</rss>

