Super User is a question and answer site for computer enthusiasts and power users. 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

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
up vote 3 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

Just launch Run:

WinKey + R

type:

resmon

and press

OK
share|improve this answer
2  
How does this different from the existing answer that describes the exact same process? – Ramhound Dec 9 '15 at 15:12
    
It is a shortcut to access the Resource Monitor from the Run window rather then the CLI. It is an alternative answer to the original question and with a direct access to the Resource Monitor, without the need to go through the Task Manager as answered by Tom. Different way, same results. ;) – Alan Dec 9 '15 at 16:00
    
You do understand that typing resmon in a run prompt is going to launch resmon.exe just like typing cmd will launch the command prompt. – Ramhound Dec 9 '15 at 16:12
1  
One of the answers correctly suggests going through the CLI (Command Line Interface aka command prompt) and the other suggests going through the run prompt and task manager. Mine suggests going through the prompt directly to the resmon. It might be opening the same program but it is a different step. My answer is what I was looking for and is here future reference. – Alan Dec 9 '15 at 16:36

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .