Win32_PerfRawData_Tcpip_TCP class

The Win32_PerfRawData_Tcpip_TCP raw performance data class provides raw data from performance counters that monitor the rates at which TCP Segments are sent and received by using the TCP protocol. It includes counters that monitor the number of TCP connections in each TCP connection state.

This class represents the TCP object in System Monitor. The original data source is the Tcpip performance library. The corresponding formatted data class is Win32_PerfFormattedData_Tcpip_TCP. Data is dynamically provided for this class from the performance library object by the WmiPerfInst provider.

Windows Server 2003 and Windows XP: WMI data for this class is supplied by the Performance Counter Provider.

The following syntax is simplified from MOF code and shows all inherited properties, including the Frequency and Timestamp properties required for class display in System Monitor. For more information about required property qualifiers, see Property Qualifiers for Raw Performance Counter Classes. For more information about CounterType values, see WMI Performance Counter Types.

Syntax

class Win32_PerfRawData_Tcpip_TCP : Win32_PerfRawData
{
  string Caption;
  uint32 ConnectionFailures;
  uint32 ConnectionsActive;
  uint32 ConnectionsEstablished;
  uint32 ConnectionsPassive;
  uint32 ConnectionsReset;
  string Description;
  uint64 Frequency_Object;
  uint64 Frequency_PerfTime;
  uint64 Frequency_Sys100NS;
  string Name;
  uint32 SegmentsPerSec;
  uint32 SegmentsReceivedPerSec;
  uint32 SegmentsRetransmittedPerSec;
  uint32 SegmentsSentPerSec;
  uint64 Timestamp_Object;
  uint64 Timestamp_PerfTime;
  uint64 Timestamp_Sys100NS;
};

Members

The Win32_PerfRawData_Tcpip_TCP class has these types of members:

  • Properties

Properties

The Win32_PerfRawData_Tcpip_TCP class has these properties.

Caption

Data type: string

Access type: Read-only

Short textual description for the statistic or metric. This property is inherited from CIM_StatisticalInformation.

ConnectionFailures

Data type: uint32

Access type: Read-only

Qualifiers: DisplayName ("Connection Failures") , CounterType (65536) , DefaultScale (0) , PerfDetail (200)

Number of times TCP connections have made a direct transition to the CLOSED state from the SYN-SENT state or the SYN-RCVD state, plus the number of times TCP connections have made a direct transition from the SYN-RCVD state to the LISTEN state.

ConnectionsActive

Data type: uint32

Access type: Read-only

Qualifiers: DisplayName ("Connections Active") , CounterType (65536) , DefaultScale (0) , PerfDetail (200)

Number of times TCP connections have made a direct transition from the CLOSED state to the SYN-SENT state.

ConnectionsEstablished

Data type: uint32

Access type: Read-only

Qualifiers: DisplayName ("Connections Established") , CounterType (65536) , DefaultScale (0) , PerfDetail (200)

Number of TCP connections for which the current state is either ESTABLISHED or CLOSE-WAIT.

ConnectionsPassive

Data type: uint32

Access type: Read-only

Qualifiers: DisplayName ("Connections Passive") , CounterType (65536) , DefaultScale (0) , PerfDetail (200)

Number of times TCP connections have made a direct transition from the LISTEN state to the SYN-RCVD state.

ConnectionsReset

Data type: uint32

Access type: Read-only

Qualifiers: DisplayName ("Connections Reset") , CounterType (65536) , DefaultScale (0) , PerfDetail (200)

Number of times TCP connections have made a direct transition from the LISTEN state to the SYN-RCVD state.

Description

Data type: string

Access type: Read-only

Textual description of the statistic or metric. This property is inherited from CIM_StatisticalInformation.

Frequency_Object

Data type: uint64

Access type: Read-only

Frequency, in ticks per second, of Timestamp_Object. This property is defined by the provider. This property is inherited from Win32_Perf.

For more information about using uint64 values in scripts, see Scripting in WMI.

Frequency_PerfTime

Data type: uint64

Access type: Read-only

Frequency, in ticks per second, of Timestamp_Perftime. A value could be obtained by calling the Windows function QueryPerformanceCounter. This property is inherited from Win32_Perf.

For more information about using uint64 values in scripts, see Scripting in WMI.

Frequency_Sys100NS

Data type: uint64

Access type: Read-only

Frequency, in ticks per second, of Timestamp_Sys100NS (10000000). This property is inherited from Win32_Perf.

For more information about using uint64 values in scripts, see Scripting in WMI.

Name

Data type: string

Access type: Read-only

Qualifiers: Key, MaxLen (256)

Label by which the statistic or metric is known. This property is inherited from CIM_StatisticalInformation.

SegmentsPerSec

Data type: uint32

Access type: Read-only

Qualifiers: DisplayName ("Segments/sec") , PerfDefault, CounterType (272696320) , DefaultScale (-1) , PerfDetail (200)

Rate at which TCP segments are sent or received using the TCP protocol.

SegmentsReceivedPerSec

Data type: uint32

Access type: Read-only

Qualifiers: DisplayName ("Segments Received/sec") , CounterType (272696320) , DefaultScale (-1) , PerfDetail (200)

Rate at which segments are received, including those received in error. This count includes segments received on currently established connections.

SegmentsRetransmittedPerSec

Data type: uint32

Access type: Read-only

Qualifiers: DisplayName ("Segments Retransmitted/sec") , CounterType (272696320) , DefaultScale (-1) , PerfDetail (200)

Rate at which segments are retransmitted, that is, segments transmitted that contain one or more previously transmitted bytes.

SegmentsSentPerSec

Data type: uint32

Access type: Read-only

Qualifiers: DisplayName ("Segments Sent/sec") , CounterType (272696320) , DefaultScale (-1) , PerfDetail (200)

Rate at which segments are sent, including those on current connections, but excluding those containing only retransmitted bytes.

Timestamp_Object

Data type: uint64

Access type: Read-only

Object-defined timestamp, defined by the provider. This property is inherited from Win32_Perf.

For more information about using uint64 values in scripts, see Scripting in WMI.

Timestamp_PerfTime

Data type: uint64

Access type: Read-only

High Performance counter timestamp. A value can be obtained by calling the Windows function QueryPerformanceCounter. This property is inherited from Win32_Perf.

For more information about using uint64 values in scripts, see Scripting in WMI.

Timestamp_Sys100NS

Data type: uint64

Access type: Read-only

Timestamp value in 100 nanosecond units. This property is inherited from Win32_Perf.

For more information about using uint64 values in scripts, see Scripting in WMI.

Remarks

All classes derived from Win32_Perf are designed to be used with a refresher object. For more information about how to create and use a refresher object in C++, see Accessing Performance Data in C++. For more information about how to create and use a refresher object using scripts, see Refreshing WMI Data in Scripts.

The performance class and property qualifiers determine how to interpret the class data. For more information, see Class Qualifiers for Performance Counter Classes and Property Qualifiers for Performance Counter Classes.

Examples

For script code examples, see WMI Tasks for Scripts and Applications and the TechNet ScriptCenter Script Repository.

For C++ code examples, see WMI C++ Application Examples.

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows Server 2003

Namespace

\root\CIMV2

DLL

WmiPerfInst.dll; WbemPerf.dll on Windows Server 2003 and Windows XP

See also

Performance Counter Classes

Accessing WMI Preinstalled Performance Classes

WMI Tasks: Performance Monitoring

Accessing Performance Data in Script