Hire me if you like: blake.irvin@gmail.com

Wednesday, December 03, 2008

Forcing a Core Dump in Solaris

Thanks to Max of Bruning Systems for this info.

Before a system is hung, load kmdb with this command:

# mdb -K -F
Type carefully:
:c
Be sure to end with a carriage return.  This will get your your prompt back.

When a system is hung, type:
F1-a
Then:
$<systemdump
This should give you a panic dump, followed by a reboot.

No comments:

Archive