On Thu, Oct 29, 2009 at 04:26:49PM +0200, Kasper Adel wrote: > Hi, > > I am trying to troubleshoot a problem that is totally random and the one > idea that would help me is to have a bash script that will ping a few > destinations every minute, then do a traceroute to these destinations, > record the time and all that output in a file. then the whole process would > repeat minute.
You may want to look at 'mtr' or 'mtr-tiny'. They should be in ports. > > This way, i'll be able to look at the script at the end of each day and find > out if these destinations were reachable when a problem was reported. > > The problem/disconnect happens for a few minutes only. > > Can any one help me get a script to do that? > > Thanks, > Kim > John