Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

On Windows, there's a GUI "Task Manager", and there's also a great little command-line "tasklist.exe" which lets me see most of the same data but in text that's really easy to parse from a script.

Is there an analogous command-line tool for "Resource Monitor"? I'm looking for something that will list global CPU/disk/network/memory usage, and/or per-process usage.

share|improve this question

3 Answers 3

up vote 2 down vote accepted

I think you are looking for typeperf. It should work for Windows 7, Windows Server 2000, Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2, Windows Server 2008, Windows Server 2008 R2, Windows Vista, Windows XP as explained here.

An example:

typeperf "\Processor(_Total)\% Processor Time"

will log the processor time until you hit Ctrl-C. Adding -sc 5 will report 5 instances

typeperf -sc 5 "\Processor(_Total)\% Processor Time"
share|improve this answer
1  
It looks like it's been around since at least Windows XP. –  Ken Apr 3 '12 at 1:20

Maybe you want to look into pslist.

It doesn't provide everything you're looking for. But it's the only CLI tool I know that at least provide some of it directly.

share|improve this answer

resmon.exe is the "resource monitor" ordinarily launched from the taskmgr.

The path to resmon.exe is processor specific, but there's usually a copy for your processor in ...\windows\system32 or ...\windows\system

(You can launch the task manager by ctrl-alt-del, or by typing "tskmgr" at a command line or at "Run ..." in the start menu)

last verified on Win7

share|improve this answer
    
What do you mean by "processor specific"? –  Flimzy Nov 12 '13 at 19:35

Your Answer

 
discard

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.