Cisco Headend System Release 2.7 User Guide

Page of 117
2-4 
Save Core Files With the savecore Utility 
749640 Rev D 
Run the savecore Utility on the DNCS,
 Continued 
 
4. 
 
Type savecore.ksh and then press Enter
Results:   
• 
The system checks available free space in the /export/home directory. 
Note:  Cisco recommends that the /export/home directory has at least 1 GB 
of free space available in which to create the core dump directory.  
• 
The system creates the core dump directory. 
Note:  This directory is called /export/home/crash/[DNCS name] on the 
DNCS. 
• 
The system copies the /etc/init.d/sysetup file to sysetup.[date]. 
• 
The system modifies the /etc/init.d/sysetup file. 
Note:  The purpose of the file modification is to enable the system to check 
for core dumps and to write core dump output to the appropriate directory 
when the system reboots. 
Example:  The system displays the following messages as the savecore utility 
executes: 
# savecore.ksh 
/export/home has 2439964 MB of available space. 
We will use /export/home for the base dump path. 
The dump directory will be /export/home/crash/[DNCS name] 
Creating the dump directory. 
Editing the /etc/init.d/sysetup file. 
Putting new sysetup file in place and change ownership and permissions. 
Removing temp files. 
SAVECORE has been enabled.