Re: cleaning out log files? [top-posting corrected]

2006-11-26 Thread Robert Huff
Oliver Iberien writes: > It turns out there was a core dump I had not noticed. I had the > idea of running ls -SlhR /var/ > /.../var_contents.txt and > looking for anything huge. Try this instead: du /var | sort -nr | head -n 25 | sendmail

Re: cleaning out log files?

2006-11-26 Thread RW
On Sunday 26 November 2006 19:21, Oliver Iberien wrote: > Thank you! I knew something like that had to exist. > > It turns out there was a core dump I had not noticed. I had the idea of > running ls -SlhR /var/ > /.../var_contents.txt and looking for anything > huge. > FreeBSD has some useful peri

Re: cleaning out log files? [top-posting corrected]

2006-11-26 Thread Oliver Iberien
On Sunday 26 November 2006 10:54, you wrote: > Check "/etc/newsyslog.conf" > All log-files you like to have rotated, should be mentioned there. > > System owned logs are in there per default. > > "du -k /var" will tell you where your space is being "consumed". > Maybe your "/var/mail/root" is growi

Re: cleaning out log files?

2006-11-26 Thread Oliver Iberien
Thank you! I knew something like that had to exist. It turns out there was a core dump I had not noticed. I had the idea of running ls -SlhR /var/ > /.../var_contents.txt and looking for anything huge. Oliver On Sunday 26 November 2006 10:54, you wrote: > Check "/etc/newsyslog.conf" > All log-

Re: cleaning out log files?

2006-11-26 Thread Armin Arh
Check "/etc/newsyslog.conf" All log-files you like to have rotated, should be mentioned there. System owned logs are in there per default. "du -k /var" will tell you where your space is being "consumed". Maybe your "/var/mail/root" is growing... How big is your /var anyway? Armin -- PUBBOX Pos

Re: cleaning out log files?

2006-11-26 Thread RW
On Sunday 26 November 2006 18:37, Oliver Iberien wrote: > I've noticed that my /var partition, on a machine being used as a desktop, > is about 80% full and would like to know what in it can safely be deleted, > or if there is some accepted way to trim log files down with a cron job, > etc. Thanks!

Re: cleaning out log files?

2006-11-26 Thread Lane Holcombe
On Sunday 26 November 2006 12:37, Oliver Iberien wrote: > I've noticed that my /var partition, on a machine being used as a desktop, > is about 80% full and would like to know what in it can safely be deleted, > or if there is some accepted way to trim log files down with a cron job, > etc. Thanks!

cleaning out log files?

2006-11-26 Thread Oliver Iberien
I've noticed that my /var partition, on a machine being used as a desktop, is about 80% full and would like to know what in it can safely be deleted, or if there is some accepted way to trim log files down with a cron job, etc. Thanks! Oliver ___ free