UnixPedia : HPUX / LINUX / SOLARIS: HPUX : SAVE CRASH MANUALLY

Friday, September 6, 2013

HPUX : SAVE CRASH MANUALLY

Saving the dump manually
If the dump was not saved completely due to lack of space in the crash directory you have the possibility to save the dump again. The -r option (resave) need to be included when this is not the first time that savecrash runs.
# savecrash -v [-r] <crash directory>
There is also the possibility to save the dump directly to a DDS tape:
# savecrash -v [-r] -t /dev/rmt/0m

The crashconf(1M) command was enhanced to be able to configure dump compression:
# crashconf -c on
# crashconf -v
CLASS PAGES INCLUDED IN DUMP DESCRIPTION
-------- ---------- ---------------- ------------------------------
UNUSED 3645411 no, by default unused pages
USERPG 7113 no, by default user process pages
BCACHE 210990 no, by default buffer cache pages
KCODE 2670 no, by default kernel code pages
USTACK 264 yes, by default user process stacks
FSDATA 116 yes, by default file system metadata
KDDATA 68736 yes, by default kernel dynamic data
KSDATA 259004 yes, by default kernel static data
Total pages on system: 4194304
Total pages included in dump: 328120
Dump compressed: ON
DEVICE OFFSET(kB) SIZE (kB) LOGICAL VOL. NAME
------------ ---------- ---------- ------------ -----------------
31:0x03a000 310112 4194304 64:0x000002 /dev/vg00/lvol2
----------
4194304

No comments:

Post a Comment