Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] Apache: Logging: how-to pipe logs or logtoanothermachine (was Disk



>From: Bruno Raoult <br@example.com>
>
>I think your test was not correct. gzip uses (with others) lzw
>compression which does not need EOF.

Really? This could be goooood ...

>The problem is stdio cache, which "caches" data in memory until a BUFSIZ

Makes some kind of sense.

>Try with a bigger file, like:
>	cat /var/log/messages | gzip [etc...]

Doesn't cat send an EOF when it finishes?

>If you want really to see it in action, do:
>	(cat /var/log/messages; cat) | gzip [etc...]

I'll try this.

BTW how can I find out the size of BUFSIZE?

Jc

_________________________________________________________________
Join the world’s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links