From: Thomas Bridge (thomas at domain medianet.ie)
Date: Wed 04 Aug 1999 - 13:17:00 IST
# Run this as root. Stick in crontab. Don't run more than
# once a day.
date = 19990804 # write a quick prog to generate this and backtick it
LIST = 'messages syslog' # list of files in /var/adm to cycle
for FILE in $LIST
mv /var/adm/$FILE /var/adm/$FILE.$date
# Syslog doesn't like it when you change its files so you need
# restart it with out causing it any grief.
killall -HUP syslogd
On Tue, 3 Aug 1999, Donncha O Caoimh wrote:
> Date: Tue, 03 Aug 1999 17:11:18 +0100
> From: Donncha O Caoimh <donncha.ocaoimh at domain tradesignals.com>
> To: ilug at domain linux.ie
> Subject: Re: [ILUG] logrotate
> Logrotate is a very nice program that will archive log files.
> It'll chop them every day/week/month and will compress them with gzip if
> you like.
> Very handy program and available on RedHat and Debian and more than
> likely on the other dists too.
> But not on Solaris, along with Perl which I couldn't believe..
> > Yup, solaris is annoying, ain't it? You should try bugfixing for
> > it :-(. Anyway, normally what I do for linux apps on solaris is go to
> > sunfreeware.com first to see if there are any pre-compiled pkgs, then I
> > start looking for src. Logrotate? what's that one do then?
-- Thomas Bridge Hostmaster/Sysadmin, Medianet Ireland. thomas.bridge at domain medianet.ie "The nerds have taken over from the pervs" - anonymous news admin on noting that comp.binaries.linux had overtaken all the porn groups as the most popular group of the week,
This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:04:25 GMT