log1 filling up..

Stephen John Smoogen smooge at gmail.com
Sat Jul 18 20:12:28 UTC 2009


On Fri, Jul 17, 2009 at 11:39 PM, Mike McGrath<mmcgrath at redhat.com> wrote:
> On Fri, 17 Jul 2009, Stephen John Smoogen wrote:
>
>> The majority of the logs are
>>
>> 8579992 ./bastion2
>> 12937952        ./cvs2
>> 27913380        ./secondary1
>> 28753276        ./192.168.1.14
>> 31164048        ./192.168.1.25
>> 36747548        ./proxy1
>> 59465200        ./192.168.1.7
>> 78840240        ./proxy2
>>
>>
>> 12937612        ./cvs2/2009
>> 26187812        ./192.168.1.14/2009
>> 27904380        ./secondary1/2009
>> 30327316        ./proxy1/2009
>> 30495152        ./192.168.1.25/2009
>> 54589944        ./192.168.1.7/2009
>>
>> Is it ok to compress older month logs 01/, 02/, 03/, 04, ?
>>
>
> I'd say yes.  I believe 01 and 02 are already compressed.  I've ack'ed the
> nagios alert so we won't get any more until it's either fixed or goes
> critical (at 10%)
>

Ok it looks like 01 and 02 are compressed with bzip2.

script to compress for 03 04

( for i in $(find ./*/2009/03/ -type f); do bzip2 -v $i; done ) &>
~/compress.logs




-- 
Stephen J Smoogen.

Ah, but a man's reach should exceed his grasp. Or what's a heaven for?
-- Robert Browning




More information about the infrastructure mailing list