MSiSCSI_InitiatorInstanceStatistics WMI 類別
MSiSCSI_InitiatorInstanceStatistics WMI 類別會公開啟動器統計數據。
因為這個類別與記憶體迷你埠驅動程式的特定實例相關聯,所以迷你埠驅動程序必須使用迷你埠驅動程式所管理的特定實體裝置物件名稱來註冊類別 (PDO) 。
MSiSCSI_InitiatorInstanceStatistics類別定義於 Iscsiprf.mof 中。
class MSiSCSI_InitiatorInstanceStatistics : Win32_PerfRawData {
[read,key] String InstanceName;
[read] boolean Active;
[WmiDataId(1),
DisplayName("Adapter Id") : amended, DisplayInHex,
description("Id that is globally unique to each instance
of each adapter. Using the address of the Adapter
Extension is a good idea.") : amended]
uint64 UniqueAdapterId;
[WmiDataId(2), DisplayName("Session Digest Errors"):
amended, PerfDefault, CounterType(0x00010000),
// PERF_COUNTER_RAWCOUNT
DefaultScale(0), PerfDetail(100), read,
Description("Count of Session digest errors"): amended]
uint32 SessionDigestErrorCount;
[WmiDataId(3), DisplayName("Session Cxn Timeout Errors"):
amended, PerfDefault, CounterType(0x00010000),
// PERF_COUNTER_RAWCOUNT
DefaultScale(0), PerfDetail(100), read,
Description("Count of Session connection timeout
error"): amended]
uint32 SessionConnectionTimeoutErrorCount;
[WmiDataId(4), DisplayName("Session Format Errors"):
amended, PerfDefault, CounterType(0x00010000),
// PERF_COUNTER_RAWCOUNT
DefaultScale(0), PerfDetail(100), read,
Description("Count of Session format error"): amended]
uint32 SessionFormatErrorCount;
[WmiDataId(5),
DisplayName("Sessions Failed"): amended, PerfDefault,
CounterType(0x00010000),
// PERF_COUNTER_RAWCOUNT
DefaultScale(0), PerfDetail(100), read,
Description("Number of Sessions failed belonging to this
instance"): amended]
uint32 SessionFailureCount;
};
當 WMI 工具套件編譯上述類別定義時,會產生 MSiSCSI_InitiatorInstanceStatistics 數據結構。