for some reason my HDD monitoring skin stopped working so while trying to fix it (and update it from using the perfmon plugin it to the usagemonitor plugin) i noticed that in windows perf mon, ur hard drives are listed with a number.
eg
0 C:
1 D:
3 Z:
windows is listing them in the order they were plugged in, not assigning the number specifically to the drive. which means the number can change for a removeable drive. so how do we reference a removeable drive? if i put only the letter, no values appear.
Code: Select all
;YOUR HARD DRIVE HERE!!!
HDD=C:
;number shown beside your hard drive. (can check in perfmon.exe)
HDDnum="0 "
;////////////////////////////////////////
; HDD #1 MEASURES
;////////////////////////////////////////
[MeasureDiskLabel]
Measure=FreeDiskSpace
Drive="#HDD#"
Label=1
UpdateDivider=1
[DriveAccess]
Measure=Plugin
Plugin=UsageMonitor
Category=PhysicalDisk
Counter="Disk Bytes/sec"
Name="#HDDnum##HDD#"
UpdateDivider=1
[DriveAccessScaling]
Measure=Calc
Formula=DriveAccess
;////////////////////////////////////////
; HDD #1 Meters
;////////////////////////////////////////
[HDDHeader]
MeasureName=MeasureDiskLabel
Meter=STRING
X=3
Y=2
FontColor=#txtcolor#
FontSize=#txtsize#
FontFace=#txtfont#
StringEffect=#txteffect#
FontEffectColor=#txteffectcolor#
AntiAlias=0
Text="DRIVE (#HDD#) %1"
UpdateDivider=1
[DriveAccessString]
MeasureName=DriveAccessScaling
Meter=STRING
X=(#horizGRIDW#+240)
Y=20r
DynamicVariables=1
stringalign=right
FontColor=#txtcolor#
FontSize=#txtsize#
FontFace=#txtfont#
StringEffect=#txteffect#
FontEffectColor=#txteffectcolor#
AntiAlias=0
AutoScale=1
NumOfDecimals=2
PostFix="B/s"
UpdateDivider=1