curl-users
Is my "Time Spent" erroneous?
Date: Sun, 17 Sep 2017 10:37:12 +1000
Hello,
The output of the following script:
#!/bin/bash
for i in 1 2 3 4 5
do
date && curl -o test
http://mirror.exetel.com.au/pub/gentoo/distfiles/shominst-0409.zip done
is
Sat Sep 16 11:45:20 AEST 2017
% Total % Received % Xferd Average Speed Time Time Time
Current Dload Upload Total Spent Left Speed
100 9743k 100 9743k 0 0 2321 0 1:11:38 1:11:38
--:--:-- 2695k Sat Sep 16 11:45:24 AEST 2017
% Total % Received % Xferd Average Speed Time Time Time
Current Dload Upload Total Spent Left Speed
100 9743k 100 9743k 0 0 2321 0 1:11:38 1:11:38
--:--:-- 2670k Sat Sep 16 11:45:28 AEST 2017
% Total % Received % Xferd Average Speed Time Time Time
Current Dload Upload Total Spent Left Speed
100 9743k 100 9743k 0 0 3247k 0 0:00:03 0:00:03
--:--:-- 2646k Sat Sep 16 11:45:31 AEST 2017
% Total % Received % Xferd Average Speed Time Time Time
Current Dload Upload Total Spent Left Speed
100 9743k 100 9743k 0 0 2321 0 1:11:38 1:11:38
--:--:-- 2662k Sat Sep 16 11:45:35 AEST 2017
% Total % Received % Xferd Average Speed Time Time Time
Current Dload Upload Total Spent Left Speed
100 9743k 100 9743k 0 0 2321 0 1:11:38 1:11:38
--:--:-- 2662k
Note how the "Time Spent" varies apparently randomly from a factual 3
seconds to 1:11:38. Anyone know why?
Thanks.
Originally posted here:
https://forums.gentoo.org/viewtopic.php?p=8118520#8118520
# curl -V
curl 7.55.1 (x86_64-pc-linux-gnu) libcurl/7.55.1 OpenSSL/1.0.2l
zlib/1.2.11
Release-Date: 2017-08-14
Protocols: dict file ftp ftps gopher http https imap imaps pop3 pop3s
rtsp smtp smtps telnet tftp
Features: Largefile NTLM SSL libz TLS-SRP UnixSockets HTTPS-proxy
-----------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-users
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2017-09-17