LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > AIX
User Name
Password
AIX This forum is for the discussion of IBM AIX.
eserver and other IBM related questions are also on topic.

Notices


Reply
  Search this Thread
Old 10-07-2004, 02:05 PM   #1
barnzenen
LQ Newbie
 
Registered: Aug 2004
Posts: 7

Rep: Reputation: 0
Question Cron Log filling up


I keep getting a message about a file system filling up in my errpt.

F89FB899 1006150004 P O dumpcheck The copy directory is too small.

Doing a -a on the error I see that it's looking for space for /var/adm/ras and needs about 1MB more.

Running "du -rxk | sort -rn | pg" I see that /var/adm/cron/ is taking up a good amount of space. Going to that directory I see just a few files, but there is one that is HUGE compared to the rest, and that is "log." Looking in this file I see that it goes back about 6 years. They only suggestions I could find online say to just cat it to /dev/null. If I did that I would loose everything, thats not what I want to do, I only want to keep about a years worth of data. Do you know of any other commands I could try to run against it to cull out some of the data?
 
Old 10-07-2004, 08:42 PM   #2
spuzzzzzzz
Member
 
Registered: Sep 2003
Location: Australia
Distribution: Gentoo
Posts: 465

Rep: Reputation: 30
You could always "tail" the log file. That way you can choose how many lines you want to save.
 
Old 10-09-2004, 04:00 PM   #3
zorba4
Member
 
Registered: Feb 2004
Location: Paris
Posts: 398

Rep: Reputation: 31
tail -2000 /var/adm/cron >/tmp/admcron.tmp; more /tmp/admcron.tmp # just verifying; cat /tmp/admcron.tmp >/var/adm/cron

By the way, who is mcbride ?
 
Old 10-09-2004, 06:04 PM   #4
spuzzzzzzz
Member
 
Registered: Sep 2003
Location: Australia
Distribution: Gentoo
Posts: 465

Rep: Reputation: 30
Darl McBride? http://en.wikipedia.org/wiki/Darl_McBride
 
  


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
char-major-10-134 is filling up my log!!! Half_Elf Linux - General 3 04-20-2009 03:39 PM
ksymoops log filling disk to 100% lobo78 Linux - General 0 06-26-2004 12:04 PM
Samba Errors Are Filling My Log Files Help :( Carlm81 Linux - Networking 6 06-04-2004 06:47 AM
mgetty.ttyS0 log file filling up capstone737 Linux - General 10 11-25-2003 12:05 PM
/var/log/messages --filling up rapidly lub0 Linux - Security 1 10-13-2003 07:16 AM

LinuxQuestions.org > Forums > Other *NIX Forums > AIX

All times are GMT -5. The time now is 03:42 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