load script at bootup
chrism at sixfeetup.com
Thu Aug 23 12:23:30 PDT 2007
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.
I'll let others address the starting at boot time, as I won't be able to
describe it good. I will say that you should probably be looking at
your /etc/rc.conf file. Make your script accessbile via a
myscript_enable="YES" call, and you're well on your way.
S i x F e e t U p | "Nowhere to go but open source"
Silicon Valley: +1 (650) 401-8579 x609
Midwest: +1 (317) 861-5948 x609
mailto:ChrisM at sixfeetup.com
http://www.sixfeetup.com | Zope/Plone Custom Development
Narek Gharibyan wrote:
> 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 script after 3600 counts down
> 3. Is there a program, script or any way more appropriate to track the
> packet loss and ping availability.?
> Thank you in advance
> freebsd-questions at freebsd.org mailing list
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
More information about the freebsd-questions