Classe WMI MPIO_DISK_HEALTH_CLASS
Um driver MPIO usa a classe WMI MPIO_DISK_HEALTH_CLASS para relatar estatísticas de integridade de um disco MPIO.
class MPIO_DISK_HEALTH_CLASS
{
//
// The MPIODisk(N).
//
[WmiDataId(1), MaxLen(63)] string Name;
//
// Number of read requests sent to this device.
//
[WmiDataId(2),
read,
Description("Number of read requests sent to this device.") : amended
] uint64 NumberReads;
//
// Number of write requests sent to this device.
//
[WmiDataId(3),
read,
Description("Number of write requests sent to this device.") : amended
] uint64 NumberWrites;
//
// Cumulative number of bytes read by requests sent to this device.
//
[WmiDataId(4),
read,
Description("Cumulative number of bytes read by requests sent to this device.") : amended
] uint64 NumberBytesRead;
//
// Cumulative number of bytes written by requests sent to this device.
//
[WmiDataId(5),
read,
Description("Cumulative number of bytes written by requests sent to this device.") : amended
] uint64 NumberBytesWritten;
//
// Number of requests sent to this device that were retried.
//
[WmiDataId(6),
read,
Description("Number of requests sent to this device that were retried.") : amended
] uint64 NumberRetries;
//
// Number of requests sent to this device that failed.
//
[WmiDataId(7),
read,
Description("Number of requests sent to this device that failed.") : amended
] uint64 NumberIoErrors;
//
// System time at which this health packet was created for this device.
//
[WmiDataId(8),
read,
Description("System time at which this health packet was created for this device.") : amended
] uint64 CreateTime;
//
// Number of path failures experienced by this device.
//
[WmiDataId(9),
read,
Description("Number of path failures experienced by this device.") : amended
] uint64 PathFailures;
//
// System time at which this device went offline/failed.
//
[WmiDataId(10),
read,
Description("System time at which this device went offline/failed.") : amended
] uint64 FailTime;
//
// Flag that indicates if the device is offline/failed.
//
[WmiDataId(11),
read,
Description("Flag that indicates if the device is offline/failed.") : amended
] boolean DeviceOffline;
//
// Count of the number of times that the NumberReads field wrapped.
//
[WmiDataId(12),
read,
Description("Count of the number of times that the NumberReads field wrapped.") : amended
] uint8 NumberReadsWrap;
//
// Count of the number of times that the NumberWrites field wrapped.
//
[WmiDataId(13),
read,
Description("Count of the number of times that the NumberWrites field wrapped.") : amended
] uint8 NumberWritesWrap;
//
// Count of the number of times that the NumberBytesRead field wrapped.
//
[WmiDataId(14),
read,
Description("Count of the number of times that the NumberBytesRead field wrapped.") : amended
] uint8 NumberBytesReadWrap;
//
// Count of the number of times that the NumberBytesWritten field wrapped.
//
[WmiDataId(15),
read,
Description("Count of the number of times that the NumberBytesWritten field wrapped.") : amended
] uint8 NumberBytesWrittenWrap;
//
// Pad for data alignment.
//
[WmiDataId(16),
read
] uint8 Pad[3];
};
Quando a definição de classe é compilada pelo conjunto de ferramentas WMI, ela produz a estrutura de dados MPIO_DISK_HEALTH_CLASS . Não há métodos associados a essa classe WMI.