(view source code of cpuload.bat as plain text)
@ECHO OFF
:: This batch file was generated using the WMI Code Generator, Version 2.01:: http://www.robvanderwoude.com/wmigen.html:: It has been edited afterwards to show only the CPU load percentageIF "%~1"=="" (
SET Node=%ComputerName%
) ELSE (
SET Node=%~1
)FOR /F "tokens=2 delims==" %%A IN ('WMIC.EXE /Node:%Node% /Output:STDOUT Path Win32_Processor Get LoadPercentage /Format:LIST') DO SET CPULoad=%%A
SET CPULoad
page last modified: 2025-10-11; loaded in 0.0087 seconds