Prev: Is there any direct way to interpret env vars read from file? Error in regexp
Next: Is there any direct way to interpret env vars read from file?Error in regexp
From: Ahmad on 5 Aug 2010 17:37 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. Does anybody have good log writing procs ready to use? Thanks, Ahamd
From: Ahmad on 5 Aug 2010 17:44 Linux On Aug 5, 2:40 pm, "Gerald W. Lester" <Gerald.Les...(a)KnG- Consulting.net> wrote: > 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.Les...(a)kng-consulting.net | > +------------------------------------------------------------------------+
From: Harald Oehlmann on 6 Aug 2010 02:57
On 5 Aug., 23:37, Ahmad <ahmad.abdulgh...(a)gmail.com> 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. For execution time of tcl commands or procedures, what do you think about the wiki pages: "Time command - see bottom for general ideas" http://wiki.tcl.tk/734 "Frameworks to time parts of the program" http://wiki.tcl.tk/15193 |