Troubleshooting System Administration Issues in Oracle® Solaris 11.2

Exit Print View

Updated: September 2014
 
 

Disabling or Enabling the Saving of Crash Dumps


Caution

Caution  -  Oracle Solaris strongly recommends that you do not disable the saving of crash dumps. Crash dumps provide invaluable way to determine what causes your system to crash.


As the root role, you do have the ability to disable or enable the saving of crash dumps:

# dumpadm -n | -y
–n

Disables the saving of crash dumps

–y

Enables the saving of crash dumps

Example 1-2  Disabling the Saving of Crash Dumps

This example illustrates how to disable the saving of crash dumps on your system.

# Dump content: all pages
       Dump device: /dev/zvol/dsk/rpool/dump (dedicated)
Savecore directory: /var/crash (minfree = 5697105KB)
  Savecore enabled: no
   Save compressed: on
Example 1-3  Enabling the Saving of Crash Dumps

This example illustrates how to enable the saving of crash dumps on your system.

# dumpadm -y
      Dump content: all pages
       Dump device: /dev/zvol/dsk/rpool/dump (dedicated)
Savecore directory: /var/crash (minfree = 5697105KB)
  Savecore enabled: yes
   Save compressed: on