[ale] nesting timers in shell scripts?

Cleveland Flowe flowe at innoverse.com
Wed Aug 15 11:04:36 EDT 2001


Ned Williams wrote:
> 
> Hey guys I need to know if anyone knows a good way to nest a timer in a
> bash or ksh script?
> Basically I need to be able to make a transaction by calling an ISQL
> script and time it from the time it kicks off, to the time it returned
> to my shell,anyone know how I would do this ?

This gives the time in seconds:

time --format="%e" <command>

see 'info time' for more format options.
--
To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body.





More information about the Ale mailing list