System Administration Guide: Advanced Administration

How to Delete Crash Dump Files

Crash dump files can be very large, so if you have enabled your system to store these files, do not retain them for longer than necessary.

  1. Become superuser.

  2. Change to the directory where crash dump files are stored.


    # cd /var/crash/system
    

    Where system identifies a system that created the crash dump files.


    Caution – Caution –

    Be sure you are in the right directory before completing step 3. Step 3 deletes all files in the current directory.


  3. Remove the crash dump files.


    # rm *
    
  4. Verify that the crash dump files are removed.


    # ls
    

Example—Deleting Crash Dump Files

The following example shows how to remove crash dump files from the system venus, and how to verify that the crash dump files were removed.


# cd /var/crash/venus
# rm *
# ls