Quantcast
Channel: Rainmeter Forums
Viewing all articles
Browse latest Browse all 1431

Help: Rainmeter Skins • Re: CPU usage of processes

$
0
0
Hi guys. Win 11 user here :Whistle So, no solution or workaround as of today?

I have a basic CPU meter that used to work perfectly under Win 7. Here's a part of the code:

Code:

[MeasureCPU]Measure=CPUIfCondition=(#CURRENTSECTION#<60)IfTrueAction=[!SetOption MeterCPUBar BarColor "185,250,160"][!UpdateMeter "MeterCPUBar"][!Redraw]IfCondition2=((#CURRENTSECTION#>=60)&&(#CURRENTSECTION#<80))IfTrueAction2=[!SetOption MeterCPUBar BarColor "255,255,153"][!UpdateMeter "MeterCPUBar"][!Redraw]IfCondition3=(#CURRENTSECTION#>=80)IfTrueAction3=[!SetOption MeterCPUBar BarColor "205,175,180"][!UpdateMeter "MeterCPUBar"][!Redraw]
On Win 11 this leads to my CPU bar being at 0% most of the time, when the Task Manager shows higher CPU scores.

Any chance this code could be at least "adapted" to work with Win 11?

Thank you. :oops:
Well, the links in this thread already answer that, but since you probably didn't check them, something like:

Code:

[MeasureCPU]Measure=PluginPlugin=UsageMonitorCategory=Processor InformationCounter=% Processor UtilityName=0,_Total...
will probably do. Unfortunately, in the case of the CPU usage of individual processes, the adjusted method based on the above will not yield the Win 11's Task Manager values. If you're curious on the details, SilverAzide mentioned this quite a few times here on the forum. Personally, I'm not on Win 11 so can't contribute more to the whole story or try to identify possible (though improbable) solutions for that latter part.

Statistics: Posted by Yincognito — Today, 3:08 am



Viewing all articles
Browse latest Browse all 1431

Trending Articles