Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-12-2004, 01:39 PM   #1
LQ Newbie
Registered: Mar 2004
Location: Virginia Beach
Distribution: Mandrake 9.2
Posts: 5

Rep: Reputation: 0
Question syslog dump/clear/erase/de-bloat/wipe

My syslog file is 22 MB in just a matter of days. When opening the file with a viewer it will take minutes just to load. When this occurs, I select All, delete, and save.

My question is, can this be done automatically?

Thanks in advance!
Old 03-12-2004, 07:33 PM   #2
LQ Guru
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Linux Mint 17, Debian 8
Posts: 7,865

Rep: Reputation: 311Reputation: 311Reputation: 311Reputation: 311
"My question is, can this be done automatically?"

Yes. Use the logrotate function. You can find out how the logrotate command works with:
man logrotate

I do not know where mandrake keeps their logrotate script. You can probably find it with:
find /etc -iname "*logrotate*"

Be prepared. Create a LifeBoat CD.

Steve Stites


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
how do i replace the clear "clear screen" with the cls command thefedexguy SUSE / openSUSE 2 12-02-2005 06:02 PM
toning down system bloat Bremsstrahlung Debian 5 09-28-2005 06:53 PM
Bloat in Linux? f0rk Linux - Distributions 5 12-10-2004 03:21 PM
Bloat free Debian isaidfreak Debian 17 09-15-2004 02:20 AM
How to forcely dump the history of user commands to the admin dump file. mcp_achindra Linux - Security 1 03-19-2004 01:04 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:49 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration