kaelri / enigma

A featured "suite" for the Windows system monitoring application, Rainmeter.
https://www.kaelri.com/project/enigma/
272 stars 93 forks source link

"Processes" doesn't hide the groups #13

Closed Dikay900 closed 11 years ago

Dikay900 commented 11 years ago

The "Processes" in the sidebar should hide the unused processes (0%) but on my System there are always 8 processes shown all with 0% idle... I've read the ini file and i just understand it just like i said now... Is this a real problem or do i just missunderstand this feature?

kaelri commented 11 years ago

It's working fine. The "0%" you see for most processes is just being rounded down from a decimal.

To confirm this, you can go to Enigma\@Resources\Styles\Enigma Dark\SidebarProcess.inc, look for [StyleProcessNumber], and add NumOfDecimals=1.

Dikay900 commented 11 years ago

Ok thank you or your response and yeah you are right, but then i just have to ask how to hide processes with a % of less than 1% i thought it should be in the Process.ini at [MeasureProcess1] IfEqualValue=0 IfEqualAction=!HideMeterGroup Process1 IfBelowValue=2 IfBelowAction=!HideMeterGroup Process1 IfAboveValue=1 IfAboveAction=!ShowMeterGroup Process1

should do the job but it doesn't :/ do i something wrong? Thanks for your answer in advance.

kaelri commented 11 years ago

The AdvancedCPU measure returns the actual number of cycles used by each process, not the percentage. So you'll need to use the same formula as in the Text meters to find out the above/below value for 1%. Something like:

IfBelowValue=([MeasureCores]*100000*#ProcessInterval#/100)
IfBelowAction=!HideMeterGroup Process2
IfAboveValue=([MeasureCores]*100000*#ProcessInterval#/100-1)
IfAboveAction=!ShowMeterGroup Process2
Dikay900 commented 11 years ago

Hmm this doesn't work either... already mentioned the scale at the string for these but couldn't get something to work... ok thank you so far I doesn't want to waste your time, i will try something more out :) Thank you