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



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



Relevant Pages

  • Re: SBS Client Application Launcher ERROR Message - Manual Test Results
    ... I ran the command line as you suggested via cut and paste to ... No new log files created on WKS. ... Do diags on WKS NIC and Server NIC ... Are you having any issues with the network ...
    (microsoft.public.windows.server.sbs)
  • Re: 54 GB in /var/log!!
    ... from command line, cut down your large log files by locating them... ... I also get an error message saying "missing argument to -exec" ...
    (Fedora)
  • Re: 54 GB in /var/log!!
    ... from command line, cut down your large log files by locating them... ... and I think my monitor newer than any computer ...
    (Fedora)
  • Re: Full daily backup with MS backup on W2k3
    ... One more question about the LOG files. ... That line is used to refresh what Windows sees in your tape device. ... If you use the refresh command you'll need ... >> Hello Dajo, ...
    (microsoft.public.windows.server.networking)
  • Re: Problem using advanced FOR loop
    ... the '=' will affect a value to 'm', losing the latter value! ... I wanted to change the second and third 'for' loops ... The second and third time I am using the 'for' loop is not ... command should be used. ...
    (comp.soft-sys.matlab)