From owner-freebsd-questions@FreeBSD.ORG Fri Sep 9 01:20:00 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4881016A41F for ; Fri, 9 Sep 2005 01:20:00 +0000 (GMT) (envelope-from eam404@earthlink.net) Received: from eastrmmtao04.cox.net (eastrmmtao04.cox.net [68.230.240.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id ACF6143D53 for ; Fri, 9 Sep 2005 01:19:59 +0000 (GMT) (envelope-from eam404@earthlink.net) Received: from [192.168.1.104] (really [24.250.141.71]) by eastrmmtao04.cox.net (InterMail vM.6.01.05.02 201-2131-123-102-20050715) with ESMTP id <20050909011957.FOBK15319.eastrmmtao04.cox.net@[192.168.1.104]>; Thu, 8 Sep 2005 21:19:57 -0400 Message-ID: <4320E348.6000502@earthlink.net> Date: Thu, 08 Sep 2005 20:20:08 -0500 From: Eric Murphy User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050826) X-Accept-Language: en-us, en MIME-Version: 1.0 To: martin@orbweavers.co.uk, freebsd-questions@freebsd.org References: <4320A93D.2020500@earthlink.net> <200509082303.09458.martin@orbweavers.co.uk> In-Reply-To: <200509082303.09458.martin@orbweavers.co.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: command question.. 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: Fri, 09 Sep 2005 01:20:00 -0000 Hmm i got a bad santex error Martin McCann wrote: >On Thursday 08 September 2005 22:12, Eric Murphy wrote: > > >>Hey guys heres a quick question for you... >> >>I am trying to ping a certain website with the following command . ping >>yahoo.com >> >>I would like to log all requests that come back higher then 100 or any # >>i specify. >> >>I figured I could use the script command but im not sure how to go from >>there? >> >>Reason for this is to prove to my ISP that there is something wrong with >>my connection :) >> >>Would it also be possible to log the date and time of each requets? >> >>So inconclusion I'd like to log all icmp requests that come back higher >>then 100 by date and time into a log file. >> >> > >date > pings.txt ; ping -c 10 www.yahoo.com | awk '{ print $7 ; }' | sort >> >pings.txt > >this will give you a file with the date then the pings sorted from quickest to >slowest. Plenty of scope to make it nicer, but it gets you the info you want. >(You will probably want to increase the count, but I would also add a delay, >-i, it will give you a better range and also it is not nice to fire a lot of >pings to a public server). > > >Martin > > > > >>Thanks >> >> >>_______________________________________________ >>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" >> >> >_______________________________________________ >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" > > >