Mailing List Archive
tlug.jp Mailing List tlug archive tlug 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
- Date: Sun, 8 Sep 2002 11:02:52 -0400
- From: Viktor Pavlenko <vvp@example.com>
- Subject: Re: [tlug] Apache: Logging: how-to pipe logs or logtoanothermachine(was Disk
- References: <F166yDd3OJXsNQptgFr00000022@example.com><1031470505.12169.24.camel@example.com>
>>>>> "BR" == Bruno Raoult <br@example.com> writes: BR> On Sun, 2002-09-08 at 16:29, Jean-Christian Imbeault wrote: >> >From: Viktor Pavlenko <vvp@example.com> >> > >> > JC> BTW how can I find out the size of BUFSIZE? >> > >> > From gzip sources :) >> >> Yuck :) >> >> [...] BR> 110 tschai br> cat a.c BR> #include <stdio.h> BR> main() { printf("%d\n", BUFSIZ); } BR> 111 tschai br> make a BR> cc a.c -o a BR> 112 tschai br> ./a BR> 8192 A small experiment. Run this from one terminal (sorry for the long line): $ perl -e 'select(STDOUT); $|=1; for (0..1000000) { print 1; sleep 1 && system("ls -l t.gz >> t") unless $_ % 200000; }' | gzip - > t.gz And watch content of file t with tail -f from another. (You may need to remove a couple of zeros above, my machine is very fast:) This is what I see: $ tail -f t -rw-rw-r-- 1 vik vik 0 Sep 8 10:51 t.gz -rw-rw-r-- 1 vik vik 0 Sep 8 10:51 t.gz -rw-rw-r-- 1 vik vik 0 Sep 8 10:51 t.gz Any ideas why? Viktor
- Follow-Ups:
- Re: [tlug] Apache: Logging: how-to pipe logs or logtoanothermachine(was Disk
- From: Viktor Pavlenko
- References:
- Re: [tlug] Apache: Logging: how-to pipe logs or logtoanothermachine (was Disk
- From: Jean-Christian Imbeault
- Re: [tlug] Apache: Logging: how-to pipe logs or logtoanothermachine(was Disk
- From: Bruno Raoult
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] Apache: Logging: how-to pipe logs or log toanothermachine (was Disk
- Next by Date: Re: [tlug] Apache: Logging: how-to pipe logs or logtoanothermachine(was Disk
- Previous by thread: Re: [tlug] Apache: Logging: how-to pipe logs or logtoanothermachine(was Disk
- Next by thread: Re: [tlug] Apache: Logging: how-to pipe logs or logtoanothermachine(was Disk
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links