From owner-freebsd-questions@FreeBSD.ORG Thu Aug 23 19:00:11 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B0FA816A421 for ; Thu, 23 Aug 2007 19:00:11 +0000 (UTC) (envelope-from chrism@sixfeetup.com) Received: from mail.sixfeetup.com (mail.sixfeetup.com [208.96.32.101]) by mx1.freebsd.org (Postfix) with ESMTP id 90C7513C48A for ; Thu, 23 Aug 2007 19:00:11 +0000 (UTC) (envelope-from chrism@sixfeetup.com) Received: by mail.sixfeetup.com (Postfix, from userid 65534) id 470D028422; Thu, 23 Aug 2007 12:01:37 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on mail.sixfeetup.com X-Spam-Level: X-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_00,HOT_NASTY autolearn=ham version=3.1.8 Received: from cell.sixfeetup.com (cell.sixfeetup.com [10.12.3.198]) by mail.sixfeetup.com (Postfix) with ESMTP id 2FDD82841C; Thu, 23 Aug 2007 12:01:35 -0700 (PDT) Message-ID: <46CDD938.2030303@sixfeetup.com> Date: Thu, 23 Aug 2007 15:00:08 -0400 From: Chris Morris User-Agent: Thunderbird 2.0.0.6 (Macintosh/20070728) MIME-Version: 1.0 To: Narek Gharibyan References: <015401c7e5b6$24b77580$180ca8c0@arm.synisys.com> In-Reply-To: <015401c7e5b6$24b77580$180ca8c0@arm.synisys.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: questions@freebsd.org, freebsd-questions@freebsd.org Subject: Re: load script at bootup X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Aug 2007 19:00:11 -0000 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 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 Toll-Free: 1-866-SIX-FEET mailto:ChrisM@sixfeetup.com http://www.sixfeetup.com | Zope/Plone Custom Development 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 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@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >