Sun Microsystems Sun Workstation 100U System Manager's Manual page 248

Table of Contents

Advertisement

SA VECORE (8 )
MAINTENANCE COMMANDS
SAVECORE(8)
NAME
savecore - save a core dump of the operating system
SYNOPSIS
/usr/ete/savecore dirname ( B1/Btem J
DESCRIPTION
FILE~
BUGS
Savecore
is
meant to be called near the end of the
I
etcl rc file after the system boots. Savecore's
function is to save the core dump of the system (assuming one was made) and to write a reboot
message in the shutdown log.
Savecore checks the core dump to be certain it corresponds with the current running version of
the operating system. If it does, Bavecore saves the core image in the file dirname/vmcore.n and
its brother, the namelist, dirname/vmunix.n The trailing .n in the pathnames is replaced by a
number which grows every time Bavecore
is
run in that directory.
Before Bavecore writes out a core image, it reads a number from the file dirname/minfree.
If
there less free space on the filesystem which contains dirname than the number obtained from the
minfree file, the core dump is not done. If the min/ree file does not exist, Bavecore always writes
out the core file (assuming that a core dump was taken).
Savecore also writes a reboot message in the shut down log.
If
the system crashed as a result of a
panic, Bavecore records the panic string in the shut down log too.
If the core dump was from a system other than /vmunix, the name of that system must be sup-
plied as BIIBname.
lusr/aJim/shutdownlog shut down log
/usr/crash/bounds
number to assign to the core images
/vmunix
current UNIX
Can be fooled into thinking a core dump is the wrong size.
Sun Release 1.1
Last change: 28 October 1983
93

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sun workstation 150u

Table of Contents