need bash script to ping a server then traceroute if ping's too slow then mail?
Posted on 2006-04-27
Quick q please.
I need a bash script that will ping a server 5 times, analyse the results and figure out an average ping time then, if it's too long a time, initiate a traceroute to that server, and finally mail the results of the traceroute to me.
Any ideas please?