[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] nesting timers in shell scripts?
- Subject: [ale] nesting timers in shell scripts?
- From: flowe at innoverse.com (Cleveland Flowe)
- Date: Wed, 15 Aug 2001 11:04:36 -0400
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.