Find the answer to your Linux question:
Results 1 to 2 of 2
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Mar 2013
    Posts
    14

    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 ?

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,512
    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!
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •