Command-line Resource Monitor for Windows?
I think you are looking for typeperf. It should work for:
- Windows Server 2003 - 2016
- Windows 10
- Windows 7
- Windows Vista
- Windows XP
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"
Here is example for disk activity, total bytes per second:
typeperf -si 2 "\LogicalDisk(_Total)\Disk Bytes/sec"
Windows Performance Monitor Disk Counters Explained
Just launch Run:
WinKey + R
type:
resmon
and press
OK
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.