LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   running time of a software (https://www.linuxquestions.org/questions/linux-newbie-8/running-time-of-a-software-4175500764/)

papori 04-06-2014 11:41 AM

running time of a software
 
Hi all,
Can someone explain what is the difference between measure running time of a software by:
kernel , user , real

I want to compare 5 softwares in their running time.

My problem is that i am sharing server with many users, and many softwares are executed in the same server.So the time is always changing even when i am using the same software.
Is there any solution for this, or do i have to wait when no-other procs on the server?

Thanks,
Pap

sag47 04-06-2014 09:08 PM

See...

Code:

man 1 time
man 7 time

Those two man pages should be a sufficient description for you. Real time is elapsed time and the actual computation time is the sum of both system and user time. You should also note that the time command is a shell builtin for bash so if you want to use a better time command use /usr/bin/time specified with the full path.

SAM


All times are GMT -5. The time now is 03:52 PM.