You are not logged in.

#1 2013-02-27 00:23:13

From: Sweet home Alabama!
Registered: 2009-06-27
Posts: 356

How is speed reported in curl when piping output?

Does anyone knows how curl reports it's Average Dload speed when one pipes the output into some other utility (for example bzip2 -d)?

For example.. here what I got:

time curl | bzip2 -d > /dev/null

Average Dload is 261k

time curl >

Average Dload 2000k
Using wget


Average Dload 2000k

Does the Average Dload speed in first case calculated by taking the actual time it takes to execute the entire line? or only for performing download.

Last edited by kdar (2013-02-28 05:09:00)


Board footer

Powered by FluxBB