Re: load script at bootup

2007-08-25 Thread Rob
Narek Gharibyan wrote: 3. Is there a program, script or any way more appropriate to track the packet loss and ping availability.? You might try the "APinger" port in: ports/net/apinger I started using it a couple weeks ago to locate some connectivity problems, and it's impressive for a small

Re: load script at bootup

2007-08-24 Thread Alex Zbyslaw
Zbigniew Szalbot wrote: I also have a script that I want to start at boot time and I simply symlinked it to /usr/local/etc/rc.d/ It starts fine but now I wonder if maybe this is not the proper way to start up scripts? I don't think there's anything wrong with that solution, and I myself pre

Re: load script at bootup

2007-08-24 Thread Zbigniew Szalbot
Hello, On Thu, 23 Aug 2007 13:59:37 -0500, Derek Ragona <[EMAIL PROTECTED]> wrote: > At 01:48 PM 8/23/2007, Narek Gharibyan wrote: >>#!/bin/sh >> >>Ping -Dc 3600 xxx.xxx.xxx.xxx | tail -4 >>/root/stat && date >> > /root/stat >>&& echo "===" >> /root/stat >> >> >> >>I wrote

Re: load script at bootup

2007-08-23 Thread Shantanoo Mahajan
On 24-Aug-07, at 12:18 AM, Narek Gharibyan wrote: #!/bin/sh Ping -Dc 3600 xxx.xxx.xxx.xxx | tail -4 >>/root/stat && date >> / root/stat && echo "===" >> /root/stat I wrote this script for collecting ping statistic (after I email to a group the stat file). 1. how

Re: load script at bootup

2007-08-23 Thread Derek Ragona
At 01:48 PM 8/23/2007, Narek Gharibyan wrote: #!/bin/sh Ping -Dc 3600 xxx.xxx.xxx.xxx | tail -4 >>/root/stat && date >> /root/stat && echo "===" >> /root/stat I wrote this script for collecting ping statistic (after I email to a group the stat file). 1. how can I run

Re: load script at bootup

2007-08-23 Thread Chris Morris
Take a look at SmokePing. We use it here to keep track of a mediocre internet connection. It graphs over time what your ping and latency was for any given target. http://oss.oetiker.ch/smokeping/ I'll let others address the starting at boot time, as I won't be able to describe it good. I

Re: load script at bootup

2007-08-23 Thread Eric Crist
On Aug 23, 2007, at 1:48 PMAug 23, 2007, Narek Gharibyan wrote: #!/bin/sh Ping -Dc 3600 xxx.xxx.xxx.xxx | tail -4 >>/root/stat && date >> / root/stat && echo "===" >> /root/stat I wrote this script for collecting ping statistic (after I email to a group the stat

load script at bootup

2007-08-23 Thread Narek Gharibyan
#!/bin/sh Ping -Dc 3600 xxx.xxx.xxx.xxx | tail -4 >>/root/stat && date >> /root/stat && echo "===" >> /root/stat I wrote this script for collecting ping statistic (after I email to a group the stat file). 1. how can I run this at startup 2. how can I restart this scri