System Administration Guide: Advanced Administration

ProcedureHow to Delete Crash Dump Files

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

  1. Become superuser or assume an equivalent role.

    Roles contain authorizations and privileged commands. For more information about roles, see Configuring RBAC (Task Map) in System Administration Guide: Security Services.

  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 –

    Ensure you are in the correct 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 were removed.

    # ls

Example 6–15 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