From owner-cvs-all Mon Nov 6 5: 7:14 2000 Delivered-To: cvs-all@freebsd.org Received: from bsdhome.dyndns.org (unknown [24.25.2.13]) by hub.freebsd.org (Postfix) with ESMTP id B38A837B4CF; Mon, 6 Nov 2000 05:07:08 -0800 (PST) Received: from vger.bsdhome.com (vger [192.168.220.2]) by bsdhome.dyndns.org (8.11.1/8.11.1) with ESMTP id eA6D72H30770; Mon, 6 Nov 2000 08:07:02 -0500 (EST) (envelope-from bsd@bsdhome.com) Received: (from bsd@localhost) by vger.bsdhome.com (8.11.1/8.11.1) id eA6D71a31137; Mon, 6 Nov 2000 08:07:01 -0500 (EST) (envelope-from bsd) Date: Mon, 6 Nov 2000 08:07:01 -0500 From: Brian Dean To: Marcel Moolenaar Cc: "John W. De Boskey" , "David O'Brien" , "Jordan K. Hubbard" , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src Makefile Message-ID: <20001106080701.A31042@vger.bsdhome.com> References: <200011052244.OAA60716@freefall.freebsd.org> <20001105161514.A7914@dragon.nuxi.com> <20001105193652.A14868@bsdwins.com> <3A06250E.E752CF4B@cup.hp.com> <20001106015759.A16228@bsdwins.com> <3A065D0C.7F65C0A0@cup.hp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3A065D0C.7F65C0A0@cup.hp.com>; from marcel@cup.hp.com on Sun, Nov 05, 2000 at 11:26:04PM -0800 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, Nov 05, 2000 at 11:26:04PM -0800, Marcel Moolenaar wrote: > Output: > > t1 = 973495143 (Sun Nov 5 23:19:03 2000) > t2 = 973594037 (Tue Nov 7 02:47:17 2000) > dt = 98894 (1.03:28:14) While we're picking out colors for the bike shed, here's what I use from a shell wrapper: [...] starttime=`date '+%s'` eval $MAKECOMMAND endtime=`date '+%s'` elapsed=`expr $endtime - $starttime` days=`date -u -r $elapsed '+%d'` days=`expr $days - 1` echo "make $MAKETARGET $MAKEOPTIONS is complete" echo echo "Start Time = `date -r $starttime '+%Y/%m/%d-%H:%M:%S'`" echo "End Time = `date -r $endtime '+%Y/%m/%d-%H:%M:%S'`" echo "Elapsed Time = `date -u -r $elapsed \"+$days-%H:%M:%S\"`" echo Output: make buildworld buildkernel installkernel installworld is complete Start Time = 2000/11/02-18:09:36 End Time = 2000/11/02-21:14:03 Elapsed Time = 0-03:04:27 -Brian -- Brian Dean bsd@FreeBSD.org bsd@bsdhome.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message