Einzelnen Beitrag anzeigen

hathor
(Gast)

n/a Beiträge
 
#16

AW: Festplatten zugriff sichbar machen (LED im Tray)

  Alt 28. Apr 2013, 15:18
So geht es:

WMI
Class: Win32_PerfFormattedData_PerfDisk_PhysicalDisk
Instance: Name: 0, 1, 2, etc. für HDD0, HDD1, HDD2 etc.

Durch Auswertung der READ/WRITE-Werte kann man dann einem Panel o.a. eine Farbe zuweisen.


Beispiel:
AvgDiskBytesPerRead: 0
AvgDiskBytesPerTransfer: 0
AvgDiskBytesPerWrite: 0
AvgDiskQueueLength: 0
AvgDiskReadQueueLength: 0
AvgDisksecPerRead: 0
AvgDisksecPerTransfer: 0
AvgDisksecPerWrite: 0
AvgDiskWriteQueueLength: 0
CurrentDiskQueueLength: 0
DiskBytesPersec: 0
DiskReadBytesPersec: 0
DiskReadsPersec: 0
DiskTransfersPersec: 0
DiskWriteBytesPersec: 0
DiskWritesPersec: 0
Name: 0 D: F: C: E:--------------------> HDD0
PercentDiskReadTime: 0
PercentDiskTime: 0
PercentDiskWriteTime: 0
PercentIdleTime: 100
SplitIOPerSec: 0

AvgDiskBytesPerRead: 1048576
AvgDiskBytesPerTransfer: 1048576
AvgDiskBytesPerWrite: 0
AvgDiskQueueLength: 1
AvgDiskReadQueueLength: 1
AvgDisksecPerRead: 0
AvgDisksecPerTransfer: 0
AvgDisksecPerWrite: 0
AvgDiskWriteQueueLength: 0
CurrentDiskQueueLength: 2
DiskBytesPersec: 37756348
DiskReadBytesPersec: 37756348
DiskReadsPersec: 36
DiskTransfersPersec: 36
DiskWriteBytesPersec: 0
DiskWritesPersec: 0
Name: 2 H:--------------------> HDD2
PercentDiskReadTime: 100
PercentDiskTime: 100
PercentDiskWriteTime: 0
PercentIdleTime: 1
SplitIOPerSec: 0

AvgDiskBytesPerRead: 0
AvgDiskBytesPerTransfer: 0
AvgDiskBytesPerWrite: 0
AvgDiskQueueLength: 0
AvgDiskReadQueueLength: 0
AvgDisksecPerRead: 0
AvgDisksecPerTransfer: 0
AvgDisksecPerWrite: 0
AvgDiskWriteQueueLength: 0
CurrentDiskQueueLength: 0
DiskBytesPersec: 0
DiskReadBytesPersec: 0
DiskReadsPersec: 0
DiskTransfersPersec: 0
DiskWriteBytesPersec: 0
DiskWritesPersec: 0
Name: 1 J:--------------------> HDD1
PercentDiskReadTime: 0
PercentDiskTime: 0
PercentDiskWriteTime: 0
PercentIdleTime: 100
SplitIOPerSec: 0

AvgDiskBytesPerRead: 1048576
AvgDiskBytesPerTransfer: 1048576
AvgDiskBytesPerWrite: 0
AvgDiskQueueLength: 1
AvgDiskReadQueueLength: 1
AvgDisksecPerRead: 0
AvgDisksecPerTransfer: 0
AvgDisksecPerWrite: 0
AvgDiskWriteQueueLength: 0
CurrentDiskQueueLength: 2
DiskBytesPersec: 37756348
DiskReadBytesPersec: 37756348
DiskReadsPersec: 36
DiskTransfersPersec: 36
DiskWriteBytesPersec: 0
DiskWritesPersec: 0
Name: _Total
PercentDiskReadTime: 55
PercentDiskTime: 55
PercentDiskWriteTime: 0
PercentIdleTime: 67
SplitIOPerSec: 0
  Mit Zitat antworten Zitat