crash dump

Can anyone of you help me in enabling crash dump on Solaris 5.5.1

Edit the file /etc/init.d/sysetup, and search for the word "savecore". You should find this, commented out. Uncomment it (except the bit I have left commented)

       #Default is to not do a savecore
       if [ ! -d /var/crash/`uname -n` ]
           then mkdir -p /var/crash/`uname -n`
       fi
       echo 'checking for crash dump...\c '
       savecore /var/crash/`uname -n`
       echo ''