Network Statistics
The WMI class name for PCoIP network statistics is Win32_PerfRawData_TeradiciPerf_PCoIPSessionNetworkStatistics.
Network Statistics shows the network statistics for a PCoIP session.
To calculate the bandwidth in kilobits per second for received data over the time interval from time t1 to time t2:
(BytesReceived[t2]-BytesReceived[t1]) * 8 / (1024 * (t2-t1))
Do not use RXBWkbitPersec for the preceding calculation.
To calculate the bandwidth in kilobits per second for transmitted data over the time interval from time t1 to time t2:
(BytesSent[t2]-BytesSent[t1]) * 8 / (1024 * (t2-t1))
Do not use TXBWkbitPersec for the preceding calculation.
To calculate the packet loss in percentage for received data over the time interval from time t1 to time t2:
PacketsReceived during interval = (PacketsReceived[t2]-PacketsReceived[t1])
 
RXPacketsLost during interval = (RXPacketsLost[t2]-RXPacketsLost[t1])
 
RXPacketsLost % = RXPacketsLost during interval /
(RXPacketsLost during interval + PacketsReceived during interval) * 100
Do not use RXPacketLostPercent or RXPacketLostPercent_Base for the preceding calculation.
To calculate the packet loss in percentage for transmitted data over the time interval from time t1 to time t2:
PacketsSent during interval = (PacketsSent[t2]-PacketsSent[t1])
 
TXPacketsLost during interval = (TXPacketsLost[t2]-TXPacketsLost[t1])
 
TXPacketsLost % = TXPacketsLost during interval /
(TXPacketsLost during interval + PacketsSent during interval) * 100
Use this formula to prevent the packet loss percent from becoming greater than 100%. This calculation is required because PacketsLost and PacketsSent are asynchronous..
Do not use TXPacketLostPercent or TXPacketLostPercent_Base for the preceding calculation.