#!/bin/csh -f while (1 == 1) echo -n `date` echo -n " " ping -c 1 $1 | grep icmp_seq sleep 1 end