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
for initial troubleshooting. The large core file is needed
if the cause of 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
If the live filer in a cluster has the savecore command in
its /etc/rc file, it can save the cores created by its
partner when its partner crashes. The cores are saved to the
partner's /etc/crash directory.
na_partner(1), na_rc(5).
Table of Contents