From owner-freebsd-stable Sat Jun 16 2:58: 1 2001 Delivered-To: freebsd-stable@freebsd.org Received: from guru.mired.org (okc-65-26-235-186.mmcable.com [65.26.235.186]) by hub.freebsd.org (Postfix) with SMTP id 1070A37B408 for ; Sat, 16 Jun 2001 02:57:49 -0700 (PDT) (envelope-from mwm@mired.org) Received: (qmail 70034 invoked by uid 100); 16 Jun 2001 09:57:48 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15147.11676.233301.492707@guru.mired.org> Date: Sat, 16 Jun 2001 04:57:48 -0500 To: Chris BeHanna Cc: FreeBSD-Stable Subject: Re: Benchmarking CVSup In-Reply-To: References: <20010616000523.A6642@anime.net> X-Mailer: VM 6.90 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Chris BeHanna types: > There's probably a better way to do this (e.g., sort the output in > increasing order of hopcount): Yes, but why resort to > #!/usr/bin/perl when you can just do: for i in `jot 16` do echo -n "cvsup${i} " traceroute -n cvsup${i}.freebsd.org 2>&1 | wc -l done | sort +1 -n Getting the correct hop count is left as an exercise for the reader. http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message