Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Aug 2007 23:48:06 +0500
From:      "Narek Gharibyan" <ngharibyan@arm.synisys.com>
To:        <freebsd-questions@freebsd.org>
Cc:        questions@freebsd.org
Subject:   load script at bootup
Message-ID:  <015401c7e5b6$24b77580$180ca8c0@arm.synisys.com>

next in thread | raw e-mail | index | archive | help
#!/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 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?015401c7e5b6$24b77580$180ca8c0>