Integration

Table Of Contents
Examining PCoIP Session Statistics
with WMI 6
You can use Windows Management Instrumentation (WMI) to examine performance statistics for a PCoIP
session by using any of the supported programming interfaces, including C#, C++, PowerShell, VBScript,
VB .NET, and Windows Management Instrumentation Command-line (WMIC).
You can also use the Microsoft WMI Code Creator tool to generate VBScript, C#, and VB .NET code that
accesses the PCoIP performance counters. For more information about WMI, WMIC, and the WMI Code
Creator tool, go to http://technet.microsoft.com/en-us/library/bb742610.aspx and
http://www.microsoft.com/downloads/en/details.aspx?familyid=2cc30a64-
ea15-4661-8da4-55bbc145c30e&dis playlang=en.
This chapter includes the following topics:
n
“Using PCoIP Session Statistics,” on page 75
n
“General PCoIP Session Statistics,” on page 76
n
“PCoIP Audio Statistics,” on page 76
n
“PCoIP Imaging Statistics,” on page 77
n
“PCoIP Network Statistics,” on page 78
n
“PCoIP USB Statistics,” on page 79
n
“Examples of Using PowerShell cmdlets to Examine PCoIP Statistics,” on page 80
Using PCoIP Session Statistics
The WMI namespace for the PCoIP session statistics is root\CIMV2. The names of the statistics are suffixed
with (Server) or (Client), according to whether the statistic is recorded on the PCoIP server or PCoIP
client.
You can use Windows Performance Monitor (PerfMon) with the counters to calculate averages over a
specified sampling period. You must have administrator privileges to access the performance counters
remotely.
All statistics are reset to 0 when a PCoIP session is closed. If the WMI SessionDurationSeconds property is a
non-zero value and stays constant, the PCoIP server was forcefully ended or crashed. If the
SessionDurationSeconds property changes from a non-zero value to 0, the PCoIP session is closed.
To avoid a division-by-zero error, verify that the denominator in the expressions for calculating bandwidth
or packet-loss percentage does not evaluate to zero.
USB statistics are recorded for zero clients, but not for thin clients or software clients.
VMware, Inc.
75