Re: 54 GB in /var/log!! -- UPDATE

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 26 Oct 2008 13:54:54 -0700, Craig White wrote:

	[...]
>> 	What should I do first??
> ----
> from command line, cut down your large log files by locating them...
> 
> # find /var/log -type f -size +2000k -exec ls -lh {} \; | awk '{ print
> $8 ": " $5 }'

	Proofreading for the third time, I discovered a missing space; 
now I get no error messages, and it tells me the culprit is /var/log/
messages for yesterday -- with 54GB all by itself. The poor thing must've 
been going bonkers; gawdknows why ...

> and any file that is really large (i.e. /var/log/Xorg.0.log)
> 
> command line empty it...
> # > /var/log/Xorg.0.log

	Is there some way to find out what makes that message file so big 
-- i.e., why the machine was losing its mind? I can't hope to read 54 
gigs in my lifetime ...

-- 
Beartooth Staffwright, PhD, Neo-Redneck Linux Convert
Remember I know precious little of what I am talking about.

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux