Managing Systems and Workgroups: A Guide for HP-UX System Administrators
Administering a System: Booting and Shutdown
Abnormal System Shutdowns
Chapter 5554
The syntax of the crashutil command to do a conversion is:
/usr/sbin/crashutil [-v
version
]
source
[
destination
]
version,
in this command, is the format that you want to convert to.
source
is the HP-UX file system file/directory containing the dump you
want to convert. And, if you do not want to convert the source in place,
you can specify an alternate
destination
for the converted output.
Converting the Format of Compressed Dumps
PARDIR. The only debug tool that supports the PARDIR is adb, as
specified in Table 5-5.
To analyze compressed dumps with older debugging tools or debuggers
other than adb, use the crashutil command to convert the compressed
dump to one of the previous dump formats. For example, the following
command converts a compressed dump to the CRASHDIR format:
/usr/sbin/crashutil -v CRASHDIR /var/adm/crash/crash.0
/var/adm/crash/crash.1
You can then use the crash.1 file for debugging purposes.
Analyzing Crash Dumps
CAUTION Analyzing crash dumps is not a trivial task. It requires intimate
knowledge of HP-UX internals and the use of debuggers. It is beyond the
scope of this document to cover the actual analysis process. If you need
help analyzing a crash dump, contact your Hewlett-Packard
representative.
Table 5-5 Versions of adb That Support Compressed Dumps
HP-UX Release adb Version
11i Version 1 adb and patch PHCO_28744
11i Version 2 A new version of adb that supports PARDIR