By fintanr on Feb 15, 2006
Within Sun we consider the concept of observability to be of the utmost importance, as can be seen by the plethora of tools bundled within OpenSolaris and noted in the Observability Community on opensolaris.org. This belief is best summed up on the observability page with the phrase "If you cannot see the problem, you cannot fix it". This belief in observability extends to postmortem analysis as well (see dumpadm(1M)). Unfortunately at times development builds can "just hang" [tm], living you in somewhat of quandry as to what you should do. Thankfully Solaris provides a way to still get a crashdump from this kind of situation via Deadman.
Enabling DeadmanTo enable deadman first ensure you are capturing crash images with dumpadm(1M) and then just add
set snooping=1to /etc/system. Note that any zones on your system will inherit the deadman setting as well.