mistic100 / Rainmeter-TopProcesses

A Rainmeter plugin to show n-number of top processes by either memory or CPU consumption.
10 stars 1 forks source link

Fix data query #2

Closed mistic100 closed 5 years ago

mistic100 commented 5 years ago

WMI query via .NET client seems really unstable but it always work correctly via command line

wmic path Win32_PerfRawData_PerfProc_Process get Name, PercentProcessorTime, TimeStamp_Sys100NS, IDProcess, WorkingSetPrivate

Might change DataThread to just execute the command and parse console output