The WMI class name for PCoIP general session statistics is Win32_PerfRawData_TeradiciPerf_PCoIPSessionGeneralStatistics.

WMI Property Name | Description |
---|---|

BytesReceived | Total number of bytes of PCoIP data that have been received since the PCoIP session started. |

BytesSent | Total number of bytes of PCoIP data that have been transmitted since the PCoIP session started. |

PacketsReceived | Total number of packets that have been received successfully since the PCoIP session started. Not all packets are the same size. |

PacketsSent | Total number of packets that have been transmitted since the PCoIP session started. Not all packets are the same size. |

RXPacketsLost | Total number of received packets that have been lost since the PCoIP session started. |

SessionDurationSeconds | Total number of seconds that the PCoIP Session has been open. |

TXPacketsLost | Total number of transmitted packets that have been lost since the PCoIP session started. |

## Calculating Bandwith for Received PCoIP Data

To calculate the bandwidth in kilobits per second for received PCoIP data over the time interval from time t1 to time t2, use the following formula.

(BytesReceived[t2]-BytesReceived[t1]) * 8 / (1024 * (t2-t1))

## Calculating Bandwidth for Transmitted PCoIP Data

To calculate the bandwidth in kilobits per second for transmitted PCoIP data over the time interval from time t1 to time t2, use the following formula.

(BytesSent[t2]-BytesSent[t1]) * 8 / (1024 * (t2-t1))

## Calculating Packet Loss for Received PCoIP Data

To calculate the percentage of received packets that are lost, use the following formula.

100 / (1 + ((PacketsReceived[t2]-PacketsReceived[t1])/(RXPacketsLost[t2]-RXPacketsLost[t1])))

## Calculating Packet Loss for Transmitted PCoIP Data

To calculate the percentage of transmitted packets that are lost, use the following formula.

100 * (TXPacketsLost[t2]-TXPacketsLost[t1]) / (PacketsSent[t2]-PacketsSent[t1])