LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   Process Time (https://www.linuxquestions.org/questions/programming-9/process-time-470946/)

ancys 08-05-2006 01:32 AM

Process Time
 
Hi all


I need to find the processing Date and time of the shell script(bash)

i.e The datetime when the shell script starts executing and end datetime it complets its execution

How to do?

help

Tinkster 08-05-2006 01:43 AM

Write a time-stamp to a logfile at the beginning and the end?


Cheers,
Tink

ancys 08-07-2006 02:20 AM

how to write in log file?

Tinkster 08-07-2006 04:34 AM

date > my_log
date >> my_log

Cheers,
Tink

ancys 08-07-2006 05:07 AM

Thanks for the solution

worzel68 08-09-2006 02:37 AM

read up on the man page for the time command, it will tell you the elapsed time for the process.

kshkid 08-10-2006 03:14 AM

we can get the processing time with 'time' and not the processing date


All times are GMT -5. The time now is 09:56 PM.