[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: How do i.....



On Tue, 08 Jun 1999, VaibhaV Sharma wrote:
> hello,
> because in 2-3 days the system logs become so hefty that there is a lot of
> useless space occupied by the files in /var/log. esp. the messages.* files

Did you checkout chklogs program.  Its stated URL is
ftp.iaehv.nl:/pub/user/grimaldo/chklogs-1.8.tar.gz

After installing this, U can add a crontab entry like this:
00 22 * * *	/usr/local/sbin/chklogs -m           
This line should be cleaning up ur logs at 10.00 PM everyday.

Ramakrishna

- --------------------------------------------------------------------
For more information on Linux in India visit http://www.linux-india.org/
Linux India is NOT a forum for Microsoft/India/Pakistan/US/UK bashing.
Flame baits will not be tolerated.  If you can appreciate satire read
http://www.templetons.com/brad/emily.html

------------------------------