Cisco Headend Digital Broadband Delivery System Guida Utente

Pagina di 152
 
Chapter 14    Preserve Log Files with the preserveLog Utility 
 
 
 
116 
4020694 Rev B 
Command Line or crontab File 
The preserveLog utility can run from the command line of an xterm window on the 
DNCS. In addition, an entry for the preserveLog utility can be placed in the crontab 
(cron) file of the DNCS where it can be configured to automatically preserve log files 
for specific processes on a regular basis.  
 
Confirmation of Sufficient Space 
Before the preserveLog utility runs, the utility confirms that there is sufficient space 
in the /export/home file system in order to save the log files. If the preserveLog 
utility determines that the /export/home file system is at, or over, 80 percent 
capacity, the utility displays a message similar to the following: 
Tue Jun 20 08:39:09 EDT 2006 
PROGRAM TERMINATED.  /export/home is at or over 80%!
 
Additionally, the utility transmits a message similar to the following to every open 
terminal on the system: 
Broadcast Message from dncs (pts7) on lville Tue Jun 20 08:39:09 
/export/home at 80% 
PROGRAM TERMINATED! 
Please check disk space! 
The system operator should then proceed to free up space in the /export/home file 
system.