
wget output, speed?
hi,
im looking for a method to graph download speed over time with wget as download tool.
looking closely at wgets output im a bit confused.
in this output:
10650K .......... .......... .......... .......... .......... 97% 11.3M 0s
10700K .......... .......... .......... .......... .......... 98% 10.5M 0s
10750K .......... .......... .......... .......... .......... 98% 16.3M 0s
10800K .......... .......... .......... .......... .......... 99% 15.6M 0s
10850K .......... .......... .......... .......... .......... 99% 18.3M 0s
10900K .......... .......... .......... .......... .......... 99% 24.9M 0s
10950K 100% 399G=3.7s
at the end, the 11.3M for example probably shows the current speed.
since the download goes up 50K very steady, how do you calculate the number at the end?
and why is there no time dimension?
capturint the output of progress=bar:force shows:
2% [> ] 19,818,776 4.38M/s eta 3m 39s
i can see that in the later one the file size goes up with changing values,
values around 50K while in the first its exactly 50K. why the difference?
why not add the whole size that has been downloaded, which is some MB/s ?

Look at the wget source code. A lot of these speed indicators are rough approximations at best. I don't know what algorithms they used for wget, but I take them with a VERY big grain of salt!