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
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
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
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
>
> 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
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
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
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
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