Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I did a time on my script and this is what I got:

$ time <myscript>

real    7m5.458s
user    0m7.444s
sys     0m3.748s

which means that it ran for 7 minutes and 5.458 seconds.

What do the user and sys times tell me?

share|improve this question

The real time is the wall clock time. The user time is the amount of time spent executing the code while not waiting for resources (I/O, network, etc.). The sys time is the time spent by the kernel on behalf of the program, e.g., executing system calls.

share|improve this answer

It's the amount of time actually executing code, as opposed to waiting on I/O or etc., in the program itself and in the kernel respectively.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.