There is a command in Linux that outputs system utilization called time. Is there a Windows equivalent? Or how else can I manually use the task manager commands in a batch file?
Tell me more
×
Server Fault is a question and answer site for
professional system and network administrators. It's 100% free, no registration required.
|
The Windows Server 2003 Resource kit includes a timeit utility. The resource kit works fine on XP as well, and I've used the individual tools on newer Windows operating systems as well. |
|||||||||||
|
|
If your Operating System has powershell (older operating systems might need a download), you can simply use Measure-Command cmdlet. |
||||
|
|
I found a tool which -- while not a direct port -- appears to give you the information you desire.
timemem.exe is available from Andy Fingerhut's page of code and the timemem source is hosted on github as part of the clojure-benchmark repo. Much detail is available in readme-timemem.txt, form where I copied the above example. (found from this neglected answer over on superuser) |
|||
|
|
uptime? Thetimecommand simply benchmarks how long it takes to run a command. – Kyle Smith Mar 26 '12 at 17:34