On solaris, the -s for the ping command makes it send 1 packet every second, indefinetly. The point of this script is to catch holes in the sequence number and calculate timestamps for the lost pings, and log the timestamps to a file.
I have even tried writing to an output file handle with my print statements to no avail. Works to the screen if I just use print, print FH doesn't. Ack :(