cvs commit: src/tools/tools README src/tools/tools/track

Oliver Fromme olli at fromme.com
Sun Mar 23 11:30:24 PDT 2008


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)


More information about the cvs-src mailing list