If you want to track the time it takes to execute a file in Linux, use time command. The snippet below shows how it works.
real is the time from start to finish of the call. It is the time from the moment you hit the Enter key until the moment the execution is finished.
user – amount of CPU time spent in user mode.
sys – amount of CPU time spent in kernel mode.




