Return to Snippet

Revision: 24115
at February 21, 2010 16:44 by adkatrit


Initial Code
#!/bin/sh
URL="$1";curl -L --w "$URL\nDNS %{time_namelookup}s  conn %{time_connect}s  time %{time_total}s\nSpeed %{speed_download}bps Size %{size_download}bytes\n" -o/dev/null -s $URL

Initial URL


Initial Description
adkatrit$ ./speedcheck.sh google.com
google.com
DNS 0.027s  conn 0.083s  time 0.301s
Speed 26350.000bps Size 7932bytes

Initial Title
Speed Check w/ dns throughput, load time, and page size

Initial Tags


Initial Language
Bash