Go to main content

Managing Devices in Oracle® Solaris 11.3

Exit Print View

Updated: April 2018
 
 

Removing Dump Files

Dump files contain raw data that get generated at the instant that computer program crashes. These files are also called crash dumps, memory dumps, or system dumps. The files are important for diagnosing problems with the programs that generated the dumps. The relevance and importance of these dump files are connected only to the instant of the program's abnormal termination. Thus, these files have no permanent value. You should not store these files over time, especially after you have completed diagnosing and resolving the problem of the program crash. Because of the temporariness of the value of these dump files as well as their typically large sizes, you can delete them safely.

All dump files are named core. These files can be generated in any random directory. You can delete these files in any of the following ways:

  • Go to the /var/crash/system directory and remove the core files. In this path, system identifies the system that generated the dump files. For example:

    # cd /var/crash/system01
    # rm *
  • Search a specific directory and remove any core files that are found there.

    The following example uses the find command to remove core files in the /home/jones user account directory.

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