From owner-freebsd-stable Sat Jun 16 11:20:52 2001 Delivered-To: freebsd-stable@freebsd.org Received: from warez.scriptkiddie.org (uswest-dsl-142-38.cortland.com [209.162.142.38]) by hub.freebsd.org (Postfix) with ESMTP id CE64F37B409 for ; Sat, 16 Jun 2001 11:20:41 -0700 (PDT) (envelope-from lamont@scriptkiddie.org) Received: from warez.scriptkiddie.org (warez.scriptkiddie.org [209.162.142.38]) by warez.scriptkiddie.org (Postfix) with ESMTP id 68E4862D01; Sat, 16 Jun 2001 11:20:35 -0700 (PDT) Date: Sat, 16 Jun 2001 11:20:35 -0700 (PDT) From: Lamont Granquist To: John Merryweather Cooper Cc: Donn Miller , Chris BeHanna , FreeBSD-Stable Subject: Re: Benchmarking CVSup In-Reply-To: <20010615232923.K560@johncoop> Message-ID: <20010616111959.P67897-100000@warez.scriptkiddie.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 On Fri, 15 Jun 2001, John Merryweather Cooper wrote: > Counting the lines in each traceroute output would give a good > approximation of the number of hops . . . tail -1 works to pull off the last hop: #!/bin/sh for i in `jot 16` do echo -n "cvsup${i} " traceroute -n cvsup${i}.freebsd.org | tail -1 done | sort +1 -n | tee mirrors.out To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message