From: Gerald W. Lester on
Ahmad wrote:
> Hi,
>
> How can I calculate "elapsed time" since the start of my script as
> well as "execution time" of each command. I need to use this in
> writing log file.

"elapsed time" -- see the time command.

"execution time" -- OS dependent, please specify OS.


--
+------------------------------------------------------------------------+
| Gerald W. Lester, President, KNG Consulting LLC |
| Email: Gerald.Lester(a)kng-consulting.net |
+------------------------------------------------------------------------+