List Info

Thread: Meassuiring build times.




Meassuiring build times.
user name
2006-04-23 12:50:52
Hi.

I'm changing how to disk usage and build time are added to
the build logs to 
made that values more useful from book editor view point.

But I have a problem with the bash built-in time command
that I don't know how 
to solve.

Know someone how to the output of 

time { some commands ; }

can be redirected to a log file?

I tried several combinations with no luck :-(


-- 
Manuel Canales Esparcia
Usuario de LFS nº2886:       http://www.linuxfroms
cratch.org
LFS en castellano: http://www.escomp
oslinux.org/lfs-es http://www.lfs-es.com
TLDP-ES:                           http://es.tldp.org
-- 
http://linuxfromscratch.org/mailman/listinfo/alfs-discu
ss
FAQ: http://www.linux
fromscratch.org/faq/
Unsubscribe: See the above information page
Meassuiring build times.
user name
2006-04-23 12:53:16
Hello.

M.Canales.es wrote:

>Hi.
>
>I'm changing how to disk usage and build time are added
to the build logs to 
>made that values more useful from book editor view
point.
>
>But I have a problem with the bash built-in time command
that I don't know how 
>to solve.
>
>Know someone how to the output of 
>
>time { some commands ; }
>
>can be redirected to a log file?
>  
>
Try this:

    ( time { commands; } ) 2>log


*david

-- 
http://linuxfromscratch.org/mailman/listinfo/alfs-discu
ss
FAQ: http://www.linux
fromscratch.org/faq/
Unsubscribe: See the above information page
Meassuiring build times.
user name
2006-04-23 14:33:01
El Domingo, 23 de Abril de 2006 14:53, David Rosal escribió:

>
> Try this:
>
>     ( time { commands; } ) 2>log

Good, may thanks. On the command line that works fine.

Now, adding that to jhalfs and doing a build to see the new
logs look.
 

-- 
Manuel Canales Esparcia
Usuario de LFS nº2886:       http://www.linuxfroms
cratch.org
LFS en castellano: http://www.escomp
oslinux.org/lfs-es http://www.lfs-es.com
TLDP-ES:                           http://es.tldp.org
-- 
http://linuxfromscratch.org/mailman/listinfo/alfs-discu
ss
FAQ: http://www.linux
fromscratch.org/faq/
Unsubscribe: See the above information page
[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )