|
|
The
crash(1M)
command provides a great deal of information
that is useful when implementing drivers
or doing other kernel development,
and requires a good understanding of
UNIX system internals to take full advantage
of the information provided.
The notes in this section enable you to get
some basic information about a system panic
from the crash output.
To run crash on the saved memory dump,
issue a command similar to the following.
This command assumes that the kernel being examined is
the default in /stand/unix and that dump image was
saved to /dumpfile when the system was rebooted:
/etc/crash -d /dumpfile -w /tmp/crash.out
The -w option saves the crash output to
a file for examination.
This example uses a different kernel than the default (or one that
was copied from another system):
/etc/crash -d /dumpfile -n /unix.test -w /tmp/crash.out