I'm trying to debug some network issues and I'd like to track down the response time for different events. For instance, the time it takes to connect to the server vs the time it took for the server to render the page (so
time wget ... won't work)
I've been using wget
$ wget --spider www.google.com Spider mode enabled. Check if remote file exists. --2013-11-22 13:56:10-- http://www.google.com/ Resolving www.google.com... 184.108.40.206, 220.127.116.11, 18.104.22.168, ... Connecting to www.google.com|22.214.171.124|:80... connected. <-- Time here HTTP request sent, awaiting response... 200 OK <-- Time here Length: unspecified [text/html] Remote file exists and could contain further links, but recursion is disabled -- not retrieving.
Is there a way to add time stamps to the various requests?