Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

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

Is there a Windows equivalent of the time Unix command?

time measures the time spent by a process in both user and kernel lands.

$ time for i in `seq 100`; do echo -n HI; done
real    0m0.005s
user    0m0.000s
sys     0m0.004s

The idea is for the script/program/command to be programmable/automatable.

share|improve this question

Powershell's Measure-Command will measure the amount of time a command takes to run.


share|improve this answer
up vote 1 down vote accepted

There is timeit.exe in the 2k3 Resource Kit which looks good enough for my purposes.

(was missing "unix" from the Google search term)

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.