Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Generally, wget shows transfer times in seconds. Is there a way I can to make it show the time in milliseconds?

share|improve this question

migrated from stackoverflow.com Jan 21 '12 at 14:15

This question came from our site for professional and enthusiast programmers.

2 Answers 2

up vote 2 down vote accepted

The total average transfer rate and the total bytes transferred are also part of the output.

2010-02-04 09:18:48 (71.5 MB/s) - `index.html' saved [8105/8105]

8105 bytes / 71500000 bytes/sec ==> 0.0001133566 sec

share|improve this answer
    
That should probably be 71.5 * 1024 * 1024 and not 71,500,000. –  mob Feb 4 '10 at 17:23
    
Thanks.. Will grep that out... –  Legend Feb 4 '10 at 17:27

You can run time wget ... to get a real time estimate for a transfer from start to finish.

share|improve this answer
    
This is not suited for short transfers where establishing the connection may take much longer than the actual transfer. –  Peter Mortensen Aug 1 '12 at 17:26

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.