LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 03-12-2004, 12:39 PM   #1
NewKreation
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, 06:33 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,337

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
"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.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites
 
  


Reply



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 05:02 PM
toning down system bloat Bremsstrahlung Debian 5 09-28-2005 05:53 PM
Bloat in Linux? f0rk Linux - Distributions 5 12-10-2004 02:21 PM
Bloat free Debian isaidfreak Debian 17 09-15-2004 01:20 AM
How to forcely dump the history of user commands to the admin dump file. mcp_achindra Linux - Security 1 03-19-2004 12:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:25 AM.

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