LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Program Run Tiime Benchmark? (https://www.linuxquestions.org/questions/linux-software-2/program-run-tiime-benchmark-99909/)

jqcaducifer 10-03-2003 02:39 PM

Program Run Tiime Benchmark?
 
Hello

I was wondering if somebody knows of a program that can be run to determine the start and end times of another process? I tried searching SourceForge, but came up with nothing.

Thanks

teval 10-03-2003 05:58 PM

time <program>

info time

To find the date+time when it started ended you can always use the date command and a simple shell script, but I think all you wanted is the first one.
Tells you for how long the program has run, after it ends. I know of nothing that keeps a tally and tells you as the program is running.

jqcaducifer 10-04-2003 03:56 PM

Thanks, that's exactly what i wanted :)

When the program finishes, it gives 3 times:
real
user
sys
What is the difference between these three times, and which one should i look at for time?


All times are GMT -5. The time now is 10:58 PM.