Integration

Table Of Contents
VMware, Inc. 79
Chapter 6 Examining PCoIP Session Statistics
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.
USB Statistics
The WMI class name for PCoIP USB statistics is
Win32_PerfRawData_TeradiciPerf_PCoIPSessionUSBStatistics.
Table 6-5 shows the USB statistics for a PCoIP session.
To calculate the bandwidth in kilobits per second for received USB data over the time interval from time t1 to
time t2:
(USBBytesReceived[t2]-USBBytesReceived[t1]) * 8 / (1024 * (t2-t1))
Do not use USBRXBWkbitPersec for the preceding calculation.
To calculate the bandwidth in kilobits per second for transmitted USB data over the time interval from time t1
to time t2:
(USBBytesSent[t2]-USBBytesSent[t1]) * 8 / (1024 * (t2-t1))
Do not use USBTXBWkbitPersec for the preceding calculation.
Examples of Using PowerShell to Examine PCoIP Statistics
Retrieve the PCoIP network statistics for the client cm-02.
Get-WmiObject -namespace "root\cimv2" -computername cm-02 -class
Win32_PerfRawData_TeradiciPerf_PCoIPSessionNetworkStatistics
Retrieve the PCoIP general session statistics for desktop dt-03 if any transmitted packets have been lost.
Get-WmiObject -namespace "root\cimv2" -computername desktop-03 -query "select * from
Win32_PerfRawData_TeradiciPerf_PCoIPSessionGeneralStatistics where TXPacketsLost > 0"
Table 6-5. USB Statistics
WMI Property Name Description
USBBytesReceived Total number of bytes of USB data that have been received since the PCoIP
session started.
USBBytesSent Total number of bytes of USB data that have been transmitted since the
PCoIP session started.
USBRXBWkbitPersec Bandwidth for incoming USB packets averaged over the sampling period,
in seconds
USBTXBWkbitPersec Bandwidth for outgoing USB packets averaged over the sampling period,
in seconds.