UsageMonitor Discussions
Posted: April 27th, 2018, 1:12 pm
Let's use this thread to discuss bugs, suggestions, tips and tricks with the new UsageMonitor plugin.
Code: Select all
[Rainmeter]
Update=1000
DynamicWindowSize=1
AccurateText=1
[Variables]
[MeasureAllCPU]
Measure=Plugin
Plugin=UsageMonitor
Alias=CPU
Index=0
[MeasureTop1]
Measure=Plugin
Plugin=UsageMonitor
Alias=CPU
Index=1
Substitute="":"---"
[MeasureTop2]
Measure=Plugin
Plugin=UsageMonitor
Alias=CPU
Index=2
Substitute="":"---"
[MeasureTop3]
Measure=Plugin
Plugin=UsageMonitor
Alias=CPU
Index=3
Substitute="":"---"
[MeasureTop4]
Measure=Plugin
Plugin=UsageMonitor
Alias=CPU
Index=4
Substitute="":"---"
[MeasureTop5]
Measure=Plugin
Plugin=UsageMonitor
Alias=CPU
Index=5
Substitute="":"---"
[MeterBack]
Meter=Shape
Shape=Rectangle 0.5,0.5,200,144,12 | Fill Color 47,47,47,255 | StrokeWidth 1.5 | Stroke Color 150,150,150,255
UpdateDivider=-1
[AllStyle]
X=10
Y=5R
FontSize=11
FontWeight=400
FontColor=255,255,255,255
DynamicVariables=1
AntiAlias=1
[RightStyle]
X=190
Y=0r
StringAlign=Right
[MeterAllCPUName]
Meter=String
MeterStyle=AllStyle
Y=10
FontWeight=700
Text=Total CPU
[MeterAllCPUValue]
Meter=String
MeterStyle=AllStyle | RightStyle
Text=[MeasureAllCPU:1]%
[MeterTop1Name]
Meter=String
MeasureName=MeasureTop1
MeterStyle=AllStyle
Y=10R
[MeterTop1Value]
Meter=String
MeterStyle=AllStyle | RightStyle
Text=[MeasureTop1:1]%
[MeterTop2Name]
Meter=String
MeasureName=MeasureTop2
MeterStyle=AllStyle
[MeterTop2Value]
Meter=String
MeterStyle=AllStyle | RightStyle
Text=[MeasureTop2:1]%
[MeterTop3Name]
Meter=String
MeasureName=MeasureTop3
MeterStyle=AllStyle
[MeterTop3Value]
Meter=String
MeterStyle=AllStyle | RightStyle
Text=[MeasureTop3:1]%
[MeterTop4Name]
Meter=String
MeasureName=MeasureTop4
MeterStyle=AllStyle
[MeterTop4Value]
Meter=String
MeterStyle=AllStyle | RightStyle
Text=[MeasureTop4:1]%
[MeterTop5Name]
Meter=String
MeasureName=MeasureTop5
MeterStyle=AllStyle
[MeterTop5Value]
Meter=String
MeterStyle=AllStyle | RightStyle
Text=[MeasureTop5:1]%
Code: Select all
[Rainmeter]
Update=1000
DynamicWindowSize=1
AccurateText=1
[Variables]
Drive1=C:
Drive2=D:
OffLight=137,137,137,255
GreenLight=105,209,115,255
CoralLight=244,125,67,255
[MeterAllBackground]
Meter=Shape
Shape=Rectangle 0.5,0.5,70,55,12 | Fill Color 47,47,47,255 | StrokeWidth 1.5 | Stroke Color 150,150,150,255
W=171
UpdateDivider=-1
[MeasureDrive1Reads]
Measure=Plugin
Plugin=UsageMonitor
Category=LogicalDisk
Counter=Disk Reads/sec
Name=#Drive1#
IfCondition=MeasureDrive1Reads > 0
IfTrueAction=[!SetOption MeterDrive1Reads Color "Fill Color #GreenLight#"][!UpdateMeter MeterDrive1Reads][!Redraw]
IfFalseAction=[!SetOption MeterDrive1Reads Color "Fill Color #OffLight#"][!UpdateMeter MeterDrive1Reads][!Redraw]
[MeasureDrive1Writes]
Measure=Plugin
Plugin=UsageMonitor
Category=LogicalDisk
Counter=Disk Writes/sec
Name=#Drive1#
IfCondition=MeasureDrive1Writes > 0
IfTrueAction=[!SetOption MeterDrive1Writes Color "Fill Color #CoralLight#"][!UpdateMeter MeterDrive1Writes][!Redraw]
IfFalseAction=[!SetOption MeterDrive1Writes Color "Fill Color #OffLight#"][!UpdateMeter MeterDrive1Writes][!Redraw]
[MeasureDrive2Reads]
Measure=Plugin
Plugin=UsageMonitor
Category=LogicalDisk
Counter=Disk Reads/sec
Name=#Drive2#
IfCondition=MeasureDrive2Reads > 0
IfTrueAction=[!SetOption MeterDrive2Reads Color "Fill Color #GreenLight#"][!UpdateMeter MeterDrive2Reads][!Redraw]
IfFalseAction=[!SetOption MeterDrive2Reads Color "Fill Color #OffLight#"][!UpdateMeter MeterDrive2Reads][!Redraw]
[MeasureDrive2Writes]
Measure=Plugin
Plugin=UsageMonitor
Category=LogicalDisk
Counter=Disk Writes/sec
Name=#Drive2#
IfCondition=MeasureDrive2Writes > 0
IfTrueAction=[!SetOption MeterDrive2Writes Color "Fill Color #CoralLight#"][!UpdateMeter MeterDrive2Writes][!Redraw]
IfFalseAction=[!SetOption MeterDrive2Writes Color "Fill Color #OffLight#"][!UpdateMeter MeterDrive2Writes][!Redraw]
[MeterDrive1]
Meter=String
X=10
Y=10
FontSize=11
FontWeight=400
FontColor=255,255,255,255
AntiAlias=1
Text=#Drive1#
[MeterDrive1Reads]
Meter=Shape
X=25r
Y=4r
W=8
H=8
Shape=Ellipse 4,4,4 | StrokeWidth 0 | Extend Color
Color=Fill Color 137,137,137,255
UpdateDivider=-1
[MeterDrive1Writes]
Meter=Shape
X=3R
Y=0r
W=8
H=8
Shape=Ellipse 4,4,4 | StrokeWidth 0 | Extend Color
Color=Fill Color 137,137,137,255
UpdateDivider=-1
[MeterDrive2]
Meter=String
X=10
Y=10R
FontSize=11
FontWeight=400
FontColor=255,255,255,255
AntiAlias=1
Text=#Drive2#
[MeterDrive2Reads]
Meter=Shape
X=25r
Y=4r
W=8
H=8
Shape=Ellipse 4,4,4 | StrokeWidth 0 | Extend Color
Color=Fill Color 137,137,137,255
UpdateDivider=-1
[MeterDrive2Writes]
Meter=Shape
X=3R
Y=0r
W=8
H=8
Shape=Ellipse 4,4,4 | StrokeWidth 0 | Extend Color
Color=Fill Color 137,137,137,255
UpdateDivider=-1
Code: Select all
[Rainmeter]
AccurateText=1
DynamicWindowSize=1
Update=1000
[MeasureGPU]
Measure=Plugin
Plugin=UsageMonitor
Alias=GPU
Percent=0
Name=Rainmeter
[MeasureVRAM]
Measure=Plugin
Plugin=UsageMonitor
Alias=VRAM
Percent=0
Name=Rainmeter
[MeasureVRAMShared]
Measure=Plugin
Plugin=UsageMonitor
Alias=VRAMSHARED
Percent=0
Name=Rainmeter
[MeterText]
Meter=String
SolidColor=0,0,0,255
FontColor=255,255,255,255
FontSize=16
Padding=8,8,8,8
X=0
Y=0
Text="Rainmeter: [MeasureGPU:2]%, [MeasureVRAM:]B, [MeasureVRAMShared:]B"
DynamicVariables=1
Rainmeter uses Direct2D to render a skin to the desktop. While Rainmeter does not directly use any hardware acceleration, Direct2D will use the GPU for certain optimizations that it performs. It is usually only noticeable with larger skin displaying lots of text or shapes. It does not store anything on the GPU, just uses GPU cycles to do some work.SilverAzide wrote:A question for the devs: I've noticed an oddity with the new UsageMonitor plugin... if you monitor the Rainmeter process, it appears that Rainmeter does use GPU, but the memory used is 0 bytes. Is this really true? (PerfMon shows the same thing, by the way...)
I'm not going to be able to unsee that.Brian wrote:For example, load the "complex" version of the the following skin and note the GPU it takes to "draw" it.
https://forum.rainmeter.net/viewtopic.php?p=147683#p147683
Thanks for considering the suggestions. I recognized the problem of multiple matches, but decided that could be left to the skin developer to resolve by providing sufficient "uniqueness" in the matching substring.jsmorley wrote:We will keep in on the radar in case we have some epiphany.