Rotate Log Files


/var/log/syslog -A 30d -p 1d -z 1 -a 'kill -HUP `cat /var/run/syslog.pid`'
/var/adm/messages -A 30d -p 1d -z 1 -a 'kill -HUP `cat /var/run/syslog.pid`; \
logger -t logadm Begin new logfile'


 

Home

 

 

 

 


Copyright 2002. All Rights Reserved.