From owner-freebsd-net@FreeBSD.ORG Sat May 17 21:33:00 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B7A0F37B401; Sat, 17 May 2003 21:33:00 -0700 (PDT) Received: from pit.databus.com (p70-227.acedsl.com [66.114.70.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id EDC5C43F93; Sat, 17 May 2003 21:32:59 -0700 (PDT) (envelope-from barney@pit.databus.com) Received: from pit.databus.com (localhost [127.0.0.1]) by pit.databus.com (8.12.9/8.12.9) with ESMTP id h4I4WxiK038510; Sun, 18 May 2003 00:32:59 -0400 (EDT) (envelope-from barney@pit.databus.com) Received: (from barney@localhost) by pit.databus.com (8.12.9/8.12.9/Submit) id h4I4Wxhp038509; Sun, 18 May 2003 00:32:59 -0400 (EDT) Date: Sun, 18 May 2003 00:32:59 -0400 From: Barney Wolff To: Brett Glass Message-ID: <20030518043259.GA38447@pit.databus.com> References: <200305171831.MAA17776@lariat.org> <200305171831.MAA17776@lariat.org> <4.3.2.7.2.20030517203058.02ddaa90@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4.3.2.7.2.20030517203058.02ddaa90@localhost> User-Agent: Mutt/1.4.1i X-Scanned-By: MIMEDefang 2.32 (www . roaringpenguin . com / mimedefang) cc: truckman@freebsd.org cc: Lars Eggert cc: net@freebsd.org Subject: Re: Ping results are sometimes wrong X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 May 2003 04:33:01 -0000 On Sat, May 17, 2003 at 08:32:26PM -0600, Brett Glass wrote: > > True. But the first ping is, in most cases, not going to be > representative. So, it pays to throw it away if you're compiling > statistics of any sort. Fine idea for your own use. For the rest of us, let's abide by POLA and not change behavior which is by now decades old and sometimes provides a bit of useful info, namely the arp time. brettsping() { ping -q -c 1 ${$#}; ping $*; } -- Barney Wolff http://www.databus.com/bwresume.pdf I'm available by contract or FT, in the NYC metro area or via the 'Net.