Sorry about the html. I turned it off. :) Anyway, how can I find out if logrotate is running?
ps aux | grep logrotate didn't show any results. And what does logrotate actually do (how does it work)? I see some logs archived (with .gz ending) in /var/log but don't really need them (they just take up space). Anything older than 30 days should be irrelevant. Best regards, Adrian ----- Original Message ----- From: "David E. Fox" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, November 15, 2003 5:34 PM Subject: Re: [expert] Clean up old logs > > My firewall has been up and running for the last 2 years now. While trying = > > to cleanup the partitions I noticed a wholalotta log files from various stu= > > Please don't post HTML. > > Adrian, isn't logrotate working? Or do you want to clean the stuff up > now? At any rate, find would do the job: > > # find . -type f /var/log -mtime 30 | xargs rm > > That gets rid of files modified over 30 days ago. > > > Adrian > ------------------------------------------------------------------------ > David E. Fox Thanks for letting me > [EMAIL PROTECTED] change magnetic patterns > [EMAIL PROTECTED] on your hard disk. > ----------------------------------------------------------------------- > > ---------------------------------------------------------------------------- ---- > Want to buy your Pack or Services from MandrakeSoft? > Go to http://www.mandrakestore.com >
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
