|
|
HP-UX Reference Volume 2 of 5 > ccrashutil(1M) |
|
NAMEcrashutil — manipulate crash dump data DESCRIPTIONcrashutil copies and preserves crash dump data, and performs format conversions on it. Common uses of crashutil include:
crashutil will write to its destination the crash dump it reads from its source. The crash dump format used to write the destination is specified with -v; if -v is not specified, the destination will have the same format as the source. If no destination is specified, source is used; the format conversion will be done in place in the source, without copying. When crashutil completes successfully, the entire contents of the crash dump will exist at destination; any portions that had still been on raw dump devices will have been copied to destination. There are three known dump formats:
Other formats, for example tape archival formats, may be added in the future. When the source and destination are different types of files — for example, when source is a directory and destination is a pair of plain files — both must be specified. Options
RETURN VALUEUpon exit, crashutil returns the following values:
EXAMPLESAn HP-UX 11.00 crash dump was saved by savecrash(1M) to /var/adm/crash/crash.2. The -p flag was specified to savecrash, specifying that only those portions of the dump which were endangered by swap activity should be saved; the rest are still resident in the raw dump devices. To save the remainder of the dump into the crash dump directory, use: crashutil /var/adm/crash/crash.2 If preferred, the completed crash dump directory could be in a different location — perhaps on another machine via NFS: crashutil /var/adm/crash/crash.2 /nfs/remote/otherdir To debug this crash dump using tools which do not understand the most current crash dump format, convert it to the older core directory format: crashutil -v COREDIR /var/adm/crash/crash.2 /tmp/oldcoredir or the even older "core file and kernel" format: crashutil -v COREFILE /var/adm/crash/crash.2 /tmp/corefile /tmp/kernfile |
|