logadm and messages file

From: Paul Hunter (diggerthelab@gmail.com)
Date: Tue Mar 20 2007 - 10:59:13 EST


I have the following entry in the logadm.conf file

/var/adm/messages -C 4 -P 'Wed Mar 14 07:10:00 2007' -a 'kill -HUP `cat
/var/run/syslog.pid`'

So it saves 4 log files and the last time it was run was 'Wed Mar 14
07:10:00 2007' .

I want to rotate this log every 7 days (basically on Sunday) and keep 8 log
files.........

So would I need to do the following to logadm.conf

 /var/adm/messages -C 8 -p 7d -P 'Sun Mar 11 07:10:00 2007' -a 'kill -HUP
`cat /var/run/syslog.pid`'

Thanks
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:41:47 EDT