Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Mar 2008 18:56:49 +0100 (CET)
From:      Oliver Fromme <olli@fromme.com>
To:        rpaulo@FreeBSD.org (Rui Paulo)
Cc:        cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org, Dag-Erling Smorgrav <des@FreeBSD.org>
Subject:   Re: cvs commit: src/tools/tools README src/tools/tools/track
Message-ID:  <200803231756.m2NHunPr018251@haluter.fromme.com>
In-Reply-To: <20080323170442.GA83048@fnop.net> from "Rui Paulo" at Mar 23, 2008 05:04:42 PM

next in thread | previous in thread | raw e-mail | index | archive | help

Rui Paulo wrote:
 > On Thu, Mar 20, 2008 at 10:15:45AM +0000, Dag-Erling Smorgrav wrote:
 > > des         2008-03-20 10:15:45 UTC
 > > 
 > >   FreeBSD src repository
 > > 
 > >   Modified files:
 > >     tools/tools          README 
 > >   Added files:
 > >     tools/tools/track    Makefile track.sh 
 > >   Log:
 > >   "track" is a script I've used for ages to track the progress of a build.
 > >   Unlike whereintheworld, it continuously monitors the log file; it also
 > >   produses less verbose output.
 > 
 > Neat, thanks!

For similar purposes, I once wrote this script:

http://www.secnetix.de/olli/scripts/worldwatch

It's a shell script that uses /usr/bin/window to split
the screen:  The top two lines display a time counter,
ETA and percent estimates, and progress information
(i.e. what part of the world is currently compiled).
The larger bottom part shows the usual make output.
The script uses only FreeBSD base tools and does not
require any ports.  Here's a screen shot:

http://www.secnetix.de/olli/scripts/worldwatch-screen.png

I wouldn't mind if anybody committed my script, too,
but now that DES committed his, I guess it doesn't make
much sense.

Best regards
   Oliver

PS:  The ETA and percent display is empty during the
first run because there's no statistics information yet.
Such information is collected and recorded in /var/db.
Upon the second and subsequent runs, the collected
information is used to display ETA and percentage.

-- 
Oliver Fromme, Bunsenstr. 13, 81735 Muenchen, Germany

``We are all but compressed light'' (Albert Einstein)



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