Go to main content

Managing Devices in Oracle® Solaris 11.4

Exit Print View

Updated: November 2020
 
 

Removing Dump Files

Dump files contain raw data that is generated when a computer program crashes. You can use this data to diagnose problems with the program. These files are also called "crash dumps," "memory dumps," or "system dumps." Because these files are relevant only in relation to the program's abnormal termination, they have no permanent value. Once you have used the files to diagnose and resolve the problem, you should remove them, especially given that they are typically large files.

System dump files are named core. You can delete these files in any of the following ways:

  • Remove them from the /var/crash/system directory, where system identifies the system that generated the dump files. For example:

    # cd /var/crash/system01
    # rm *
  • Search a specific directory, often your home directory, and remove any core files.

    The following example finds and removes core files in the /home/jones user account directory.

    # cd /home/jones
    # find . -name core -exec rm {} \;