HP-UX Reference (11i v1 00/12) - 1M System Administration Commands N-Z (vol 4)
__________________________________________________________________________________________________________________________________________________________________________________________________
__________________________________________________________________________________________________________________________________________________________________________________________________
STANDARD Printed by: Nora Chuang [nchuang] STANDARD
/build/1111/BRICK/man1m/naaagt.1m
________________________________________________________________
___ ___
s
savecrash(1M) savecrash(1M)
devices are configured as swap devices, the entire dump will be preserved in the crash directory. If
no swap devices are used as dump devices (dedicated dump devices), only the INDEX file and ker-
nel modules will be copied into the crash directory.
-r Resaves a dump that a previous invocation of savecrash has marked as already saved. This is
useful if the first invocation did ran out of space, and enough space has since been freed to try
again.
-v Enables additionalprogress messages and diagnostics.
-z savecrash will compress all physical memory image files and kernel module files in the dump
directory.
-Z savecrash will not compress any files in the dump directory.
If neither -z nor -Z is specified and the amount of free disk space becomes less than twice the
total disk space, savecrash will compress the remaining files.
-D dumpdevice
dumpdevice is the name of the device containing the header of the raw crash image. The console
messages from the time of the panic will identify the major and minor numbers of this device. This
option, in combination with -O, can be used to tell
savecrash where to find the dump in the
rare instances that
savecrash doesn’t know where to look.
-O offset
offset is the offset in kBytes, relative to the beginning of the device specified with
-D above, of the
header of the raw crash image. The console messages from the time of the panic will identify this
offset. This option, in combination with
-D, can be used to tell savecrash where to find the
dump in the rare instances that
savecrash doesn’t know where to look.
-d sysfile
sysfile is the name of a file containing the image of the system that produced the core dump (that
is, the system running when the crash occurred). If this option is not specified, savecrash gets
the file name from the dump itself. If the file containing the image of the system that caused the
crash has changed, use this option to specify the new file name.
-m minfree
minfree is the amount of free space (in kBytes) that must remain free for ordinary user files after
savecrash completes, in addition to space reserved for the superuser. If necessary, only part of
the dump will be saved to achieve this requirement. minfree may be specified in bytes (
b), kilo-
bytes (
k), megabytes (m), or gigabytes (g). The default minfree value is zero, and the default unit
is kilobytes.
-s chunksize
chunksize is the size (default kBytes) of a single physical memory image file before compression.
The kByte value must be a multiple of page size (divisible by 4) and between 64 and 1048576.
chunksize may be specified in units of bytes (
b), kilobytes (k), megabytes (m), or gigabytes (g).
Larger numbers increase compression efficiency at the expense of both savecrash time and
debugging time. If -s is not specified, a default is chosen based on the physical memory size and
the amount of availablefile system space.
-t tapedevice
tapedevice is the tape device where the crash dump will be written. Crash dumps that are written
to tape are written using a tar format. The crash dump tape can be read using tar(1).
When the
-t option is specified, the -p option is not allowed and the whole dump is always
preserved. In addition, -c and -l, are not allowed and -m is ignored. Also, when -t
is specified,
savecrash will not perform any compression.
When dirname is specified with the -t option, dirname is the name of the existing directory where
the INDEX file is created; the default directory is /tmp. The INDEX file is the first file that is
written out to the dump tape. This file is written a second time once all the dump files have been
written. The first copy of the file only contains crash dump header information and its filename on
tape is tmpindex. It does not contain information for the module and image files.
When writing to tape, the tape device must be online otherwise the command will fail with an
error. Additionally, when savecrash reaches end-of-tape, it will prompt the user for the next
tape. Any tape errors encountered will result in a generic tape error.
HP-UX Release 11i: December 2000 − 2 − Section 1M−−761
___
___