使用命令行查看CPU使用率
@ECHO OFF SET Node=%ComputerName% 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
日期:2020-04-11 22:50:11 来源:oir作者:oir
使用命令行查看CPU使用率
@ECHO OFF SET Node=%ComputerName% 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