What is a good command to show CPU usage on a server on a windows server in command line?

I know the command to show the memory usage is mem, and I use mem/d. In linux this is not a problem, I just want text I can copy and paste because I get tired of typing.

Answer #1

FunAdvice user filletofspam gave me a good ideal on this, I can use typeperf script to make this happen.

Answer #2

This is what I came up with:

typeperf “\Processor(_Total)\% Processor Time” -sc 1

Thought perhaps a windows guru would know a better command.

Answer #3

TY, I working on a script where I can gather more parameters and have it sent through a smtp relay when certain errors occur.

More Like This
Ask an advisor one-on-one!
Advisor

VPS Server | VPS Sunucu Kiral...

VPS Sunucu Kiralama, Linux Windows Ucuz VPS, Sanal Sunucu Fiyatları

Advisor

Easy Window Activator

Software Downloads, Windows Activators, Cracked Software

Advisor

Windowspcsecrets | Complete W...

Technology, Human Resources, Retail

Advisor

Window & Door ERP Software

Window Manufacturers, Door Manufacturers, ERP Software Providers

Advisor

Microsoft Windows Defender

Computer Security, Software, Technology