dump files -- how to spot them.
Results 1 to 3 of 3

Thread: dump files -- how to spot them.

  1. #1
    Join Date
    Nov 2000
    Location
    buenos aires
    Posts
    335

    dump files -- how to spot them.

    having the `shell script crond fever`, i would like to know how can i identify a core dump file, in order to write a script to rm them automatically.
    the problem is, in some of the documentation that i found those files are called either ".core" or ".dead".
    i`ve runned a find on those type of files but found none.
    is the name of a dump file different from distribution to distibution?
    i`m afraid i`d rm something useful like kcore, perhaps ;->.

  2. #2
    Join Date
    Mar 2000
    Location
    Elyria, Ohio - USA
    Posts
    2,075
    From what I've seen, and what is normally done in UNIX/Linux, the file is just ./core. Try this:

    find / -name \*core\* -print

    This will give a result of any file that has the "core" string in its file name. The backslash is needed so find will use the '*' character as a wild card character, instead of using the character as part of the name.

    Good luck. -mk

    ------------------
    If it ain't broke, fix it till it is.
    If it ain't broke,
    Fix it till it is.

  3. #3
    Join Date
    Nov 2000
    Location
    buenos aires
    Posts
    335
    thanks mike, i`ll search for those files, following your advice, and let you know.
    i wasn`t aware of the `\` with find, thanks.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •