<?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 script to find  core and crash files in a machine in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/script-to-find-core-and-crash-files-in-a-machine/m-p/4009573#M96254</link>
    <description>&lt;!--!*#--&gt;I need a script to find core and crash file in different nodes. Eg. I have setup of four nodes  and I want to see from the 5th node that whether core and crash files are creating in machines or not.&lt;BR /&gt;So I want to run this script from 5th node to verify this. Therefore I need this script to find core and crash files in other nodes.&lt;BR /&gt;</description>
    <pubDate>Wed, 30 May 2007 03:05:02 GMT</pubDate>
    <dc:creator>Narendra Thapa</dc:creator>
    <dc:date>2007-05-30T03:05:02Z</dc:date>
    <item>
      <title>script to find  core and crash files in a machine</title>
      <link>https://community.hpe.com/t5/operating-system-linux/script-to-find-core-and-crash-files-in-a-machine/m-p/4009573#M96254</link>
      <description>&lt;!--!*#--&gt;I need a script to find core and crash file in different nodes. Eg. I have setup of four nodes  and I want to see from the 5th node that whether core and crash files are creating in machines or not.&lt;BR /&gt;So I want to run this script from 5th node to verify this. Therefore I need this script to find core and crash files in other nodes.&lt;BR /&gt;</description>
      <pubDate>Wed, 30 May 2007 03:05:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/script-to-find-core-and-crash-files-in-a-machine/m-p/4009573#M96254</guid>
      <dc:creator>Narendra Thapa</dc:creator>
      <dc:date>2007-05-30T03:05:02Z</dc:date>
    </item>
    <item>
      <title>Re: script to find  core and crash files in a machine</title>
      <link>https://community.hpe.com/t5/operating-system-linux/script-to-find-core-and-crash-files-in-a-machine/m-p/4009574#M96255</link>
      <description>Hi Narendra and welcome to ITRC Forums.&lt;BR /&gt;&lt;BR /&gt;You can base your script on these two commands:&lt;BR /&gt;cd /&lt;BR /&gt;find . -type f -name "core" &lt;BR /&gt;&lt;BR /&gt;hth&lt;BR /&gt;best regards&lt;BR /&gt;pg&lt;BR /&gt;&lt;BR /&gt;And as Peter Godron says&lt;BR /&gt;&lt;BR /&gt;Please also read:&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/helptips.do?#33" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/helptips.do?#33&lt;/A&gt; &lt;BR /&gt;on how to reward any useful answers given to your questions.</description>
      <pubDate>Wed, 30 May 2007 04:29:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/script-to-find-core-and-crash-files-in-a-machine/m-p/4009574#M96255</guid>
      <dc:creator>Piergiacomo Perini</dc:creator>
      <dc:date>2007-05-30T04:29:40Z</dc:date>
    </item>
    <item>
      <title>Re: script to find  core and crash files in a machine</title>
      <link>https://community.hpe.com/t5/operating-system-linux/script-to-find-core-and-crash-files-in-a-machine/m-p/4009575#M96256</link>
      <description>If you are talking about system crashes, they would be in /var/adm/crash/.  And in directories named crash.#.</description>
      <pubDate>Wed, 30 May 2007 20:45:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/script-to-find-core-and-crash-files-in-a-machine/m-p/4009575#M96256</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-05-30T20:45:10Z</dc:date>
    </item>
    <item>
      <title>Re: script to find  core and crash files in a machine</title>
      <link>https://community.hpe.com/t5/operating-system-linux/script-to-find-core-and-crash-files-in-a-machine/m-p/4009576#M96257</link>
      <description>As usual, the details depend on the details,&lt;BR /&gt;like exactly where you wish to look for the&lt;BR /&gt;"core" files (or whatever).  The basic&lt;BR /&gt;command might look like:&lt;BR /&gt;&lt;BR /&gt;   find fs_list -xdev -name core -type f&lt;BR /&gt;&lt;BR /&gt;where "fs_list" is a list of mount points for&lt;BR /&gt;the file systems (or directories) of&lt;BR /&gt;interest.  For example, if /, /usr, and /var&lt;BR /&gt;are all separate file systems:&lt;BR /&gt;&lt;BR /&gt;   find / /usr /var -xdev -name core -type f&lt;BR /&gt;&lt;BR /&gt;It's possible to do this on a remote system&lt;BR /&gt;using NFS, but it'd probably be much more&lt;BR /&gt;efficient to run the command remotely on the&lt;BR /&gt;system(s) of interest using rsh or ssh.&lt;BR /&gt;&lt;BR /&gt;You could also write a shell script which&lt;BR /&gt;collected the output from the "find" command,&lt;BR /&gt;and e-mailed the stuff to someone who cared.&lt;BR /&gt;You could use "cron" to automate the job on&lt;BR /&gt;each system, and have it run early every&lt;BR /&gt;morning, so you'd get the daily "core/crash"&lt;BR /&gt;report bright and early every day.&lt;BR /&gt;&lt;BR /&gt;Many things are possible.</description>
      <pubDate>Wed, 30 May 2007 22:17:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/script-to-find-core-and-crash-files-in-a-machine/m-p/4009576#M96257</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2007-05-30T22:17:52Z</dc:date>
    </item>
    <item>
      <title>Re: script to find  core and crash files in a machine</title>
      <link>https://community.hpe.com/t5/operating-system-linux/script-to-find-core-and-crash-files-in-a-machine/m-p/4009577#M96258</link>
      <description>Hi,&lt;BR /&gt;to find the core and to understand what are:&lt;BR /&gt;&lt;BR /&gt;find / -name core -type f -exec echo "\n" \; -exec file {} \; -exec what {} \; &lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Art</description>
      <pubDate>Thu, 31 May 2007 02:59:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/script-to-find-core-and-crash-files-in-a-machine/m-p/4009577#M96258</guid>
      <dc:creator>Arturo Galbiati</dc:creator>
      <dc:date>2007-05-31T02:59:46Z</dc:date>
    </item>
  </channel>
</rss>

