On Mon, Oct 18, 2010 at 06:38:48PM -0400, linux fan wrote:
> start=$(date +%s)
> ... stuff happens ...
> end=$(date +%s)
> elaps=$(( end - start ))
> 
> Just thinking about eliminating the finger counting that time may do.
> My experience with time is that some time floats between user and sys
> on different runs that have an equal real time.

 Yes, but ... For my buildscripts, elapsed time.  For the figures
I've been taking from 'time' on subsequent scripts, the first field
which is "real" unless the order of fields has changed recently.

ĸen
-- 
das eine Mal als Tragödie, das andere Mal als Farce
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to