Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Jun 2001 23:25:18 -0700
From:      Zack Hobson <zgh+bsd@malfunktion.net>
To:        Donn Miller <hackr_d@yahoo.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: Benchmarking CVSup
Message-ID:  <20010615232518.C789@nidhogg.malfunktion.net>
In-Reply-To: <20010616060538.69356.qmail@web14707.mail.yahoo.com>; from hackr_d@yahoo.com on Fri, Jun 15, 2001 at 11:05:38PM -0700
References:  <Pine.BSF.4.32.0106160119500.88179-100000@topperwein.dyndns.org> <20010616060538.69356.qmail@web14707.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Jun 15, 2001 at 11:05:38PM -0700, Donn Miller wrote:
> --- Chris BeHanna <behanna@zbzoom.net> wrote:
> > Here's a little script to work through them all.  With a modicum of
> > effort, it could be made to just print the hopcounts, but I wasn't
> > that enthusiastic the night I wrote it.
> 
> Actually, it should go from 1->16.  A more compact way to do it would
> be:

Try piping it to tail, that compresses the output nicely:

#!/bin/sh
i=1
while [ $i -le 16 ] ; do
    traceroute cvsup$i.freebsd.org|tail -n 1
    i=`expr $i + 1`
done

This gives you a nice two-line summary of each traceroute, at least it did
on my 4.3-STABLE server.

-zack


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?20010615232518.C789>