[ILUG] Measuring a Program's Speed

kevin lyda kevin at suberic.net
Sat Jan 8 09:30:28 GMT 2000


Fergal Daly wrote:
> On csh for the amiga there was a cool belll/whistle, you could set the
> prompt (or window title) to include the time taken to execute the last
> command. Does anyone know a way to do that in a linux shell?

from the man page for tcsh:

       The time shell variable can be set to execute  the  time  builtin
       command  after the completion of any process that takes more than
       a given number of CPU seconds.

does this do what you want?

kevin
-- 
kevin at suberic.net                              Nutrition Facts
fork()'ed on 37058400		       Puns: 100% RDA  (% good puns: 0)




More information about the ILUG mailing list