Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Jun 2001 04:57:48 -0500
From:      Mike Meyer <mwm@mired.org>
To:        Chris BeHanna <behanna@zbzoom.net>
Cc:        FreeBSD-Stable <stable@freebsd.org>
Subject:   Re: Benchmarking CVSup
Message-ID:  <15147.11676.233301.492707@guru.mired.org>
In-Reply-To: <Pine.BSF.4.32.0106160346260.90437-100000@topperwein.dyndns.org>
References:  <20010616000523.A6642@anime.net> <Pine.BSF.4.32.0106160346260.90437-100000@topperwein.dyndns.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Chris BeHanna <behanna@zbzoom.net> 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.

	<mike
--
Mike Meyer <mwm@mired.org>			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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15147.11676.233301.492707>