Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


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

Deleting Log files on ubuntu



Actually i was asked to do this

% sysctl -w sunrpc.nfs_debug=32767

to enable full client debugging.. i wasn't sure what that was doing before
:D.

Thats probably why i have those HUGE log files!

Also I read about this tool called logrotate, but when i try to use it i get
a segfault!

i did
%logrotate kern.log

-Vinay

On 6/6/07, Kristian Hermansen <kristian.hermansen-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org> wrote:
>
> Vinay Perneti wrote:
> > I was just browsing through the folders and found that /var/log folder
> was
> > consuming 3.4GB. When i looked into the folder, kern.log.0 and
> > messages.log.0 were taking up 1.2GB each.
>
> Ouch!
>
> > Can i delete these log files?
>
> Sure!
>
> > Would i be needing them in the future?
>
> Well, I assume you had a lot of output from your pNFS kernel hackery?
> Maybe you should take a look and see what the messages are.  Maybe it is
> only one message that is being output over and over again repeatedly...
> --
> Kristian Hermansen
>



-- 
-Vinay

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.







BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org