VMware View 5 PCoIP Session Statistics (WMI)

VMware View 5.0 exposes Teradici’s PCoIP session statistics through the WMI interface. Before View 5.0 the only mechanism to identify bandwidth usage and allocation was trough the log files. The log files are still a good source and there are few good applications that will consolidate log files and demonstrate the broad PCoIP utilization and network conditions in your organization. Please refer to App for PCoIP Real-Time Monitoring across your Organisation.

 

The PCoIP Session statistics are available virtual desktops running VMware View agent 5.0 and can be retrieved from the host VM utilizing PerfMon.

The PCoIP statistics are grouped within the following name spaces:

  • PCoIP Session General Statistics
  • PCoIP Session Network Statistics
  • PCoIP Session Audio Statistics
  • PCoIP Session Imaging Statistics
  • PCoIP Session USB Statistics

After a PCoIP session is closed, all the statistics are reset to zero. If the WMI property SessionDurationSeconds is a non-zero value and if it stays the same, it means PCoIP server has been forcefully ended or crashed. If SessionDurationSeconds changes from  non-zero to zero value, it means PCoIP session has been closed.

The PCoIP Session Statistics are updated every second.

WMI Namespace: root\CIMV2

For automation of management task such as querying for management data, execution of a method from a WMI class, or receiving event notifications using WMI it possible to create scripts in VBScript, C#, and VB .NET using “WMI Code Creator” from Microsoft.

 

PCoIP Session General Statistics

WMI Class Name: Win32_PerfRawData_TeradiciPerf_PCoIPSessionGeneralStatistics

Statistic NameDescriptionWMI Property Name
Session Duration SecondsAn incrementing number that represents the total number of seconds the PCoIP session has been open.SessionDurationSeconds
Bytes ReceivedTotal number of bytes that have been received since the PCoIP session started.BytesReceived
Bytes SentTotal number of bytes that have been transmitted since the PCoIP session started.BytesSent
Packets ReceivedTotal number of packets that have been received since the PCoIP session started. Note that not all packets are the same size.PacketsReceived
Packets SentTotal number of packets that have been transmitted since the PCoIP session started. Note that not all packets are the same size.PacketsSent
RX Packets LostTotal number of receive packets that have been lost since the PCoIP session started.RXPacketsLost
TX Packets LostTotal number of transmit packets that have been lost since the PCoIP session started.TXPacketsLost

 

PCoIP Session Network Statistics

WMI Class Name: Win32_PerfRawData_TeradiciPerf_PCoIPSessionNetworkStatistics

Statistic NameDescriptionWMI Property Name
Round Trip Latency msRound trip latency (in milliseconds) between server and client.RoundTripLatencyms
RX BW kbit/secOverall bandwidth for incoming PCoIP packets averaged over the sampling period (in seconds).To calculate bandwidth:

(BytesReceivedsample2 – BytesReceivedsample1) x 8 / 1024 / SamplePeriod

RX BW Peak kbit/secPeak bandwidth for incoming PCoIP packets within a one second sampling period.RXBWPeakkbitPersec
RX Packet Loss %Percentage of received packets lost during a sampling period.To calculate packet loss:

?PacketReceived = PacketsReceivedsample2 – PacketsReceivedsample1

?RXPacketsLost = RXPacketsLostsample2 – RXPacketsLostsample1)

RXPacketLoss % = ?RXPacketsLost / (?RXPacketsLost + ?PacketReceived ) x 100

TX BW kbit/secOverall bandwidth for outgoing PCoIP packets averaged over the sampling period (in seconds).To calculate bandwidth:

(BytesSentsample2 – BytesSentsample1) x 8 / 1024 / SamplePeriod

TX BW Active Limit kbit/secThe current estimate of the available network bandwidth, updated every second.TXBWActiveLimitkbitPersec
TX BW Limit kbit/secTransmit bandwidth limit for outgoing packets as defined by the minimum of: GPO setting on client and server, local network connection, and Zero Client firmware negotiated value based on encryption limitsTXBWLimitkbitPersec
TX Packet Loss %Percentage of transmitted packets lost during a sampling period.To calculate packet loss:

?PacketSent = PacketSentsample2 – PacketSentsample1

?TXPacketsLost = TXPacketsLostsample2 – TXPacketsLostsample1)

TXPacketLoss % = ?TXPacketsLost / ?PacketSent x 100

 

PCoIP Session Audio Statistics

WMI Class Name: Win32_PerfRawData_TeradiciPerf_PCoIPSessionAudioStatistics

Note: The following Audio session statistics are not applicable to USB audio.

Statistic NameDescriptionWMI Property Name
Audio Bytes ReceivedTotal number of audio bytes that have been received since the PCoIP session started.AudioBytesReceived
Audio Bytes SentTotal number of audio bytes that have been sent since the PCoIP session started.AudioBytesSent
Audio RX BW kbit/secBandwidth for ingoing audio packets averaged over the sampling period (in seconds).To calculate bandwidth:

(AudioBytesReceivedsample2 – AudioBytesReceivedsample1) x 8 / 1024 / SamplePeriod

Audio TX BW kbit/secBandwidth for outgoing audio packets averaged over the sampling period (in seconds).To calculate bandwidth:

(AudioBytesSentsample2 – AudioBytesSentsample1) x 8 / 1024 / SamplePeriod

Audio TX BW Limit kbit/secTransmit bandwidth limit for outgoing audio packets as defined by the GPO setting.AudioTXBWLimitkbitPersec

 

PCoIP Session Imaging Statistics

WMI Class Name: Win32_PerfRawData_TeradiciPerf_PCoIPSessionImagingStatistics

Statistic NameDescriptionWMI Property Name
Imaging Bytes ReceivedTotal number of imaging bytes that have been received since the PCoIP session started.ImagingBytesReceived
Imaging Bytes SentTotal number of imaging bytes that have been sent since the PCoIP session started.ImagingBytesSent
Imaging RX BW kbit/secBandwidth for incoming imaging packets averaged over the sampling period (in seconds).To calculate bandwidth:

(ImagingBytesReceivedsample2 – ImagingBytesReceivedsample1) x 8 / 1024 / SamplePeriod

Imaging TX BW kbit/secBandwidth for outgoing imaging packets averaged over the sampling period (in seconds).To calculate bandwidth:

(ImagingBytesSentsample2 – ImagingBytesSentsample1) x 8 / 1024 / SamplePeriod

Imaging Encoded Frames/secThe number of imaging frames which were encoded over a one second sampling period.ImagingEncodedFramesPersec
Imaging Active Minimum QualityThe lowest encoded quality (0 to 100), updated every second. Not to be confused with the GPO setting.ImagingActiveMinimumQuality
Imaging Decoder Capability kbit/secThe current estimate of the decoder processing capability.ImagingDecoderCapabilitykbitPersec

 

PCoIP Session USB Statistics

WMI Class Name: Win32_PerfRawData_TeradiciPerf_PCoIPSessionUSBStatistics

Note: The following USB session statistics are only available for the Zero Client to Soft Host configuration. These values will be 0 for the Thin (Soft) Client to Soft Host configuration.

Statistic NameDescriptionWMI Property Name
USB Bytes ReceivedTotal number of USB bytes that have been received since the PCoIP session started.USBBytesReceived
USB Bytes SentTotal number of USB bytes that have been sent since the PCoIP session started.USBBytesSent
USB RX BW kbit/secBandwidth for incoming USB packets averaged over the sampling period (in seconds).To calculate bandwidth:

(USBBytesReceivedsample2 – USBBytesReceivedsample1) x 8 / 1024 / SamplePeriod

USB TX BW kbit/secBandwidth for outgoing USB packets averaged over the sampling period (in seconds).To calculate bandwidth:

(USBBytesSentsample2 – USBBytesSentsample1) x 8 / 1024 / SamplePeriod

Davoud Teimouri
Davoud Teimouri

Professional blogger, vExpert 2015/2016/2017/2018/2019/2020/2021/2022/2023/2024/2025, vExpert NSX, vExpert PRO, vExpert Security, vExpert EUC, VCA, MCITP. This blog is started with simple posts and now, it has large following readers.

Leave a Reply

Your email address will not be published. Required fields are marked *