Manual Pages
Table of Contents
savecore - save a core dump
savecore
savecore is meant to be called near the end of the initialization
file /etc/rc. Its function is to save the core dump
of the system (assuming one was made) and to write the panic
string to /etc/messages. savecore saves the core dump in
two files /etc/crash/core.n, and /etc/crash/core.n-small,
where n is determined by the /etc/crash/bounds file.
The -small core file contains a subset of the memory image
that Network Appliance can use for initial troubleshooting.
Network Appliance will only need to look at the large core
file if the problem cannot be determined by examining the
small one.
Before savecore writes out a core image, it reads a number
from the file /etc/crash/minfree. If the number of free
kilobytes in the filesystem after saving the core would be
less than the number obtained from minfree, the core dump is
not saved. If minfree does not exist, savecore always
writes out the core file (assuming that a core dump was
taken).
- /etc/crash/core.*
- saved core files
/etc/crash/core.*-small
saved small core files
- /etc/crash/bounds
- suffix for next core file
/etc/crash/minfree free KB in FS to maintain after savecore
na_rc(5)
Table of Contents