<?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 Find Core and the process generated it in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/find-core-and-the-process-generated-it/m-p/3734798#M255152</link>
    <description>HI Friends,&lt;BR /&gt;&lt;BR /&gt;i coudnt find any pointer to the following problem which i have been working for some time. &lt;BR /&gt;&lt;BR /&gt;1. Find the core files in system and move it central location, &lt;BR /&gt;2. How to find what process generated this core file. &lt;BR /&gt;&lt;BR /&gt;Its been asked by our team members, but i am running out of things. if anybody has any script please help me out.&lt;BR /&gt;&lt;BR /&gt;THanks In advance &lt;BR /&gt;&lt;BR /&gt;BestRegards,&lt;BR /&gt;Govind,</description>
    <pubDate>Mon, 20 Feb 2006 01:49:40 GMT</pubDate>
    <dc:creator>Global Service Desk</dc:creator>
    <dc:date>2006-02-20T01:49:40Z</dc:date>
    <item>
      <title>Find Core and the process generated it</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/find-core-and-the-process-generated-it/m-p/3734798#M255152</link>
      <description>HI Friends,&lt;BR /&gt;&lt;BR /&gt;i coudnt find any pointer to the following problem which i have been working for some time. &lt;BR /&gt;&lt;BR /&gt;1. Find the core files in system and move it central location, &lt;BR /&gt;2. How to find what process generated this core file. &lt;BR /&gt;&lt;BR /&gt;Its been asked by our team members, but i am running out of things. if anybody has any script please help me out.&lt;BR /&gt;&lt;BR /&gt;THanks In advance &lt;BR /&gt;&lt;BR /&gt;BestRegards,&lt;BR /&gt;Govind,</description>
      <pubDate>Mon, 20 Feb 2006 01:49:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/find-core-and-the-process-generated-it/m-p/3734798#M255152</guid>
      <dc:creator>Global Service Desk</dc:creator>
      <dc:date>2006-02-20T01:49:40Z</dc:date>
    </item>
    <item>
      <title>Re: Find Core and the process generated it</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/find-core-and-the-process-generated-it/m-p/3734799#M255153</link>
      <description>1. Find the core files in system and move it central location,&lt;BR /&gt;&lt;BR /&gt;# find / -name "core" -exec mv &lt;LOCATION&gt; {} \;&lt;BR /&gt;&lt;BR /&gt;2. How to find what process generated this core file. &lt;BR /&gt;&lt;BR /&gt;# file core&lt;BR /&gt;# what core&lt;BR /&gt;&lt;BR /&gt;--&lt;BR /&gt;Muthu&lt;/LOCATION&gt;</description>
      <pubDate>Mon, 20 Feb 2006 01:52:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/find-core-and-the-process-generated-it/m-p/3734799#M255153</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2006-02-20T01:52:52Z</dc:date>
    </item>
    <item>
      <title>Re: Find Core and the process generated it</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/find-core-and-the-process-generated-it/m-p/3734800#M255154</link>
      <description>Hi Govind, &lt;BR /&gt;&lt;BR /&gt;You can find the core files by, &lt;BR /&gt;&lt;BR /&gt;# find / -type f -name "core" and to see which process caused the core by, &lt;BR /&gt;&lt;BR /&gt;# file `find / -type f -name "core"`&lt;BR /&gt;&lt;BR /&gt;You can move all core to any central location if needed, I dont think you have "coreadm" as of solaris. &lt;BR /&gt;&lt;BR /&gt;-Arun</description>
      <pubDate>Mon, 20 Feb 2006 01:55:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/find-core-and-the-process-generated-it/m-p/3734800#M255154</guid>
      <dc:creator>Arunvijai_4</dc:creator>
      <dc:date>2006-02-20T01:55:21Z</dc:date>
    </item>
    <item>
      <title>Re: Find Core and the process generated it</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/find-core-and-the-process-generated-it/m-p/3734801#M255155</link>
      <description>Hi Govind, &lt;BR /&gt;&lt;BR /&gt;A similar thread should help you, &lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=898593" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=898593&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;-Arun</description>
      <pubDate>Mon, 20 Feb 2006 01:58:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/find-core-and-the-process-generated-it/m-p/3734801#M255155</guid>
      <dc:creator>Arunvijai_4</dc:creator>
      <dc:date>2006-02-20T01:58:40Z</dc:date>
    </item>
    <item>
      <title>Re: Find Core and the process generated it</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/find-core-and-the-process-generated-it/m-p/3734802#M255156</link>
      <description>&lt;BR /&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;#file `find / -type f -name core*`&lt;BR /&gt;&lt;BR /&gt;Should satisfy your requirement.&lt;BR /&gt;&lt;BR /&gt;The above command will search for all core files in the system and give the brief description about its origin.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Siva.</description>
      <pubDate>Mon, 20 Feb 2006 01:59:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/find-core-and-the-process-generated-it/m-p/3734802#M255156</guid>
      <dc:creator>Sivakumar TS</dc:creator>
      <dc:date>2006-02-20T01:59:45Z</dc:date>
    </item>
    <item>
      <title>Re: Find Core and the process generated it</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/find-core-and-the-process-generated-it/m-p/3734803#M255157</link>
      <description>Thanks for the replies, &lt;BR /&gt;&lt;BR /&gt;but how do i move all the core files to one location. for that i need to change the name of the core files right otherwise it will overwrite the existing. &lt;BR /&gt;&lt;BR /&gt;can anyone tell me how do i do that. &lt;BR /&gt;&lt;BR /&gt;i will assign points ... &lt;BR /&gt;&lt;BR /&gt;thanks in advance &lt;BR /&gt;GOvinda.</description>
      <pubDate>Mon, 20 Feb 2006 02:26:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/find-core-and-the-process-generated-it/m-p/3734803#M255157</guid>
      <dc:creator>Global Service Desk</dc:creator>
      <dc:date>2006-02-20T02:26:09Z</dc:date>
    </item>
    <item>
      <title>Re: Find Core and the process generated it</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/find-core-and-the-process-generated-it/m-p/3734804#M255158</link>
      <description>I hope core files are keep on updated based on application. Few applications are creating new core files if some file is named with core available.&lt;BR /&gt;&lt;BR /&gt;If you want to move core files to centralized directory then,&lt;BR /&gt;&lt;BR /&gt;a) You can find all files named with core and move them to that directory&lt;BR /&gt;&lt;BR /&gt;b) Configure application core making location to your centralized place.&lt;BR /&gt;&lt;BR /&gt;I hope first one is very possible as,&lt;BR /&gt;&lt;BR /&gt;# find / -name "core" -exec mv &lt;FULL path="" to="" directory="" to="" move=""&gt; {} \;&lt;BR /&gt;&lt;BR /&gt;--&lt;BR /&gt;Muthu&lt;/FULL&gt;</description>
      <pubDate>Mon, 20 Feb 2006 02:49:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/find-core-and-the-process-generated-it/m-p/3734804#M255158</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2006-02-20T02:49:43Z</dc:date>
    </item>
    <item>
      <title>Re: Find Core and the process generated it</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/find-core-and-the-process-generated-it/m-p/3734805#M255159</link>
      <description>Hi Govind, &lt;BR /&gt;&lt;BR /&gt;but how do i move all the core files to one location. for that i need to change the name of the core files right otherwise it will overwrite the existing.&lt;BR /&gt;&lt;BR /&gt;You can do it, try to use file command which gives which process causes the core, then use that process name as prefix or suffix of the core, then move it to your preferred location. &lt;BR /&gt;&lt;BR /&gt;Its simple and ease of use, may be compared to "creadm" command in solaris. Take a look at the thread which i posted in my previous reply. &lt;BR /&gt;&lt;BR /&gt;-Arun</description>
      <pubDate>Mon, 20 Feb 2006 02:53:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/find-core-and-the-process-generated-it/m-p/3734805#M255159</guid>
      <dc:creator>Arunvijai_4</dc:creator>
      <dc:date>2006-02-20T02:53:00Z</dc:date>
    </item>
    <item>
      <title>Re: Find Core and the process generated it</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/find-core-and-the-process-generated-it/m-p/3734806#M255160</link>
      <description>Hi Govind,&lt;BR /&gt;&lt;BR /&gt;    1) U can use the find command given by Muthukumar to segregate the core files.&lt;BR /&gt;&lt;BR /&gt;    2) Make sure you switch on the core file naming convention so as to, it includes the PID in its name, while ists saved. you can do this by doing the following in 11.x and up machines..&lt;BR /&gt;&lt;BR /&gt; echo "core_addpid/W 1\ncore_addpid?W 1" | adb -w -k /stand/vmunix /dev/mem&lt;BR /&gt;&lt;BR /&gt;     Note: if u rebuild ur kernel in future, remember to rerun these commands once again.&lt;BR /&gt;&lt;BR /&gt;    3) Enable process auditing in you system. To do it. .. refer the "man" page of AUDIT.&lt;BR /&gt;&lt;BR /&gt;       man 4 audit&lt;BR /&gt;       man 5 audit&lt;BR /&gt;&lt;BR /&gt;   Final Result:&lt;BR /&gt;&lt;BR /&gt;   From the step 2, whenever a core file gets created , u can get 2 infos by Performing "ll" on the core file &lt;BR /&gt;&lt;BR /&gt;      a) PID&lt;BR /&gt;      b) Time of core file creation&lt;BR /&gt;&lt;BR /&gt;  From step 3, u will be able to get&lt;BR /&gt;      a)time of the process execution&lt;BR /&gt;      b)PID&lt;BR /&gt;&lt;BR /&gt;    NOW by mapping the PID from above info's aligned with particular time, you will be able to find, which process Cored while execution.&lt;BR /&gt;&lt;BR /&gt;NOTE: There are programs to analyze core files, like q4 etc...That may be able to get the info's u require without performing the above steps. but I haven't used q4 personally.&lt;BR /&gt;&lt;BR /&gt;Anyway,&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Senthil Kumar .A</description>
      <pubDate>Mon, 20 Feb 2006 03:43:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/find-core-and-the-process-generated-it/m-p/3734806#M255160</guid>
      <dc:creator>Senthil Kumar .A_1</dc:creator>
      <dc:date>2006-02-20T03:43:22Z</dc:date>
    </item>
    <item>
      <title>Re: Find Core and the process generated it</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/find-core-and-the-process-generated-it/m-p/3734807#M255161</link>
      <description>THanks for all, &lt;BR /&gt;&lt;BR /&gt;I will try all these things and let you know ! &lt;BR /&gt;&lt;BR /&gt;THanks &lt;BR /&gt;Govinda.</description>
      <pubDate>Mon, 20 Feb 2006 04:13:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/find-core-and-the-process-generated-it/m-p/3734807#M255161</guid>
      <dc:creator>Global Service Desk</dc:creator>
      <dc:date>2006-02-20T04:13:41Z</dc:date>
    </item>
    <item>
      <title>Re: Find Core and the process generated it</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/find-core-and-the-process-generated-it/m-p/3734808#M255162</link>
      <description>Hi Govind, &lt;BR /&gt;&lt;BR /&gt;This thread should be useful as well, &lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=665680" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=665680&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;-Arun</description>
      <pubDate>Mon, 20 Feb 2006 04:19:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/find-core-and-the-process-generated-it/m-p/3734808#M255162</guid>
      <dc:creator>Arunvijai_4</dc:creator>
      <dc:date>2006-02-20T04:19:58Z</dc:date>
    </item>
  </channel>
</rss>

