Quantcast
Channel: Get CPU Usage from Windows Command Prompt - Stack Overflow
Viewing all articles
Browse latest Browse all 6

Answer by Denis for Get CPU Usage from Windows Command Prompt

$
0
0

For anyone that stumbles upon this page, none of the solutions here worked for me. I found this is the way to do it (in a batch file):

@for /f "skip=1" %%p in ('wmic cpu get loadpercentage /VALUE') do (   for /F "tokens=2 delims==" %%J in ("%%p") do echo %%J)

Viewing all articles
Browse latest Browse all 6

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>