Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Other *NIX Forums > AIX
User Name
AIX This forum is for the discussion of IBM AIX.
eserver and other IBM related questions are also on topic.


  Search this Thread
Old 10-07-2004, 03:05 PM   #1
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, 09:42 PM   #2
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, 05:00 PM   #3
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, 07:04 PM   #4
Registered: Sep 2003
Location: Australia
Distribution: Gentoo
Posts: 465

Rep: Reputation: 30
Darl McBride?


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 04:39 PM
ksymoops log filling disk to 100% lobo78 Linux - General 0 06-26-2004 01:04 PM
Samba Errors Are Filling My Log Files Help :( Carlm81 Linux - Networking 6 06-04-2004 07:47 AM
mgetty.ttyS0 log file filling up capstone737 Linux - General 10 11-25-2003 01:05 PM
/var/log/messages --filling up rapidly lub0 Linux - Security 1 10-13-2003 08:16 AM > Forums > Other *NIX Forums > AIX

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