echo "`curl -s -o /dev/null -w '%{time_starttransfer}-%{time_pretransfer}' http://www.domain.com/`"|bc curl -w '\nLookup time:\t%{time_namelookup}\nConnect time:\t%{time_connect}\nPreXfer time:\t%{time_pretransfer}\nStartXfer time:\t%{time_starttransfer}\n\nTotal time:\t%{time_total}\n' -o /dev/null -s http://www.domain.com/
Never been to CodeSnippets before?
Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world (or not, you can keep them private!)
cURL Response Times (See related posts)
You need to create an account or log in to post comments to this site.
Related Posts
» Log website response times w... in time http curl windows cmd response dos batch
» Upload all .gif and .jpg fil... in shell textpattern curl
» Pinging/resolving to the Tex... in textdrive ping ip resolve
» using curl in curl commandline headers
» Downloading large files with... in shell osx mac curl bash
» Facebook Status Updater usin... in php curl facebook
Snippets (source code soon to be available) developed by Peter Cooper and powered by Ruby On Rails