Re: Bandwidth Generated

2007-04-14 Thread yitzle
I will test the tell function out. I don't think I got access to the server log files. On 4/14/07, Nigel Peck <[EMAIL PROTECTED]> wrote: yitzle wrote: > OK... I got this script that gets a lot of hits -> generates high > bandwidth. > Is there a simple way to check the amount of bytes printed to

Re: Bandwidth Generated

2007-04-14 Thread Nigel Peck
yitzle wrote: OK... I got this script that gets a lot of hits -> generates high bandwidth. Is there a simple way to check the amount of bytes printed to STDOUT so I can track the bandwidth it is generating? You may be able to get this information from your web server log files? If you're usin

Re: Bandwidth Generated

2007-04-13 Thread Chas Owens
from the docs for tell: The return value of tell() for the standard streams like the STDIN depends on the operating system: it may return -1 or something else. tell() on pipes, fifos, and sockets usually returns -1. The short answer is you

Re: Bandwidth Generated

2007-04-13 Thread Andy Greenwood
On 4/13/07, oryann9 <[EMAIL PROTECTED]> wrote: > > It works fine with 5.8.8 on my Fedora Core 5: > > $ perl -e 'for ("","abc\n","def","hij\n"){print; > warn tell STDOUT,"\n"}' > 0 > abc > 4 > 7 > defhij > 11 > $ > Does not seem to be accurate on this platform??? $ uname -a CYGWIN_NT-5.1 dubmds

Re: Bandwidth Generated

2007-04-13 Thread oryann9
> > It works fine with 5.8.8 on my Fedora Core 5: > > $ perl -e 'for ("","abc\n","def","hij\n"){print; > warn tell STDOUT,"\n"}' > 0 > abc > 4 > 7 > defhij > 11 > $ > Does not seem to be accurate on this platform??? $ uname -a CYGWIN_NT-5.1 dubmdsmith10 1.5.24(0.156/4/2) 2007-01-31 10:57 i686

Re: Bandwidth Generated

2007-04-13 Thread Peter Scott
On Thu, 12 Apr 2007 19:11:47 -0700, John W. Krahn wrote: > Rob Dixon wrote: >> yitzle wrote: >>> >>> OK... I got this script that gets a lot of hits -> generates high >>> bandwidth. >>> Is there a simple way to check the amount of bytes printed to STDOUT so I >>> can track the bandwidth it is gener

Re: Bandwidth Generated

2007-04-13 Thread Rob Dixon
John W. Krahn wrote: Rob Dixon wrote: yitzle wrote: OK... I got this script that gets a lot of hits -> generates high bandwidth. Is there a simple way to check the amount of bytes printed to STDOUT so I can track the bandwidth it is generating? my $nbytes = tell STDOUT; tell() usually onl

Re: Bandwidth Generated

2007-04-12 Thread John W. Krahn
Rob Dixon wrote: > yitzle wrote: >> >> OK... I got this script that gets a lot of hits -> generates high >> bandwidth. >> Is there a simple way to check the amount of bytes printed to STDOUT so I >> can track the bandwidth it is generating? > > my $nbytes = tell STDOUT; tell() usually only works

Re: Bandwidth Generated

2007-04-12 Thread Rob Dixon
yitzle wrote: OK... I got this script that gets a lot of hits -> generates high bandwidth. Is there a simple way to check the amount of bytes printed to STDOUT so I can track the bandwidth it is generating? my $nbytes = tell STDOUT; Rob -- To unsubscribe, e-mail: [EMAIL PROTECTED] For addi