$ cat check.website.status.sh
#!/bin/bash
echo “{time_connect} {time_starttransfer} {time_total}”
cat /etc/hosts.work.net| awk -F ‘ ‘ ‘{print $2}’ | while read LINE
do
echo -e “t$LINE: “;
curl -o “/dev/null” -s -w “%{time_connect}t%{time_starttransfer}t%{time_total}” $LINE ;
done