Time Command: Track the Time it Takes to Execute a File in Linux

Time Command: Track the Time it Takes to Execute a File in Linux

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.

Search

Related Posts

Related Posts

Scroll to Top

Work with Khuyen Tran

Work with Khuyen Tran