LinuxQuestions.org
Visit Jeremy's Blog.
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, 01: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, 07:33 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Jessie, Linux Mint 17
Posts: 7,793

Rep: Reputation: 292Reputation: 292Reputation: 292
"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


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


All times are GMT -5. The time now is 11:54 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration