Win32_PerfFormattedData_PerfNet_Redirector class

The Win32_PerfFormattedData_PerfNet_Redirector formatted data class provides precalculated data from performance counters that monitor network connections originating at the local computer.

This class represents the LAN Redirector object in System Monitor and returns the same data you see in System Monitor. The original data source is the PerfNet performance library. This class derives its raw data from the corresponding raw class Win32_PerfRawData_PerfNet_Redirector. 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 Formatted Performance Data Provider.

The following syntax is simplified from MOF code and shows all of the 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 Performance Counter Classes. For more information about CounterType values, see WMI Performance Counter Types.

Syntax

class Win32_PerfFormattedData_PerfNet_Redirector : Win32_PerfFormattedData
{
  uint64  BytesReceivedPerSec;
  uint64  BytesTotalPerSec;
  uint64  BytesTransmittedPerSec;
  string  Caption;
  uint32  ConnectsCore;
  uint32  ConnectsLanManager20;
  uint32  ConnectsLanManager21;
  uint32  ConnectsWindowsNT;
  uint32  CurrentCommands;
  string  Description;
  uint32  FileDataOperationsPerSec;
  uint32  FileReadOperationsPerSec;
  uint32  FileWriteOperationsPerSec;
  uint64  Frequency_Object;
  uint64  Frequency_PerfTime;
  uint64  Frequency_Sys100NS;
  string  Name;
  uint32  NetworkErrorsPerSec;
  uint64  PacketsPerSec;
  uint64  PacketsReceivedPerSec;
  uint64  PacketsTransmittedPerSec;
  uint64  ReadBytesCachePerSec;
  uint64  ReadBytesNetworkPerSec;
  uint64  ReadBytesNonPagingPerSec;
  uint64  ReadBytesPagingPerSec;
  uint32  ReadOperationsRandomPerSec;
  uint32  ReadPacketsPerSec;
  uint32  ReadPacketsSmallPerSec;
  uint32  ReadsDeniedPerSec;
  uint32  ReadsLargePerSec;
  uint32  ServerDisconnects;
  uint32  ServerReconnects;
  uint32  ServerSessions;
  uint32  ServerSessionsHung;
  uint64  Timestamp_Object;
  uint64  Timestamp_PerfTime;
  uint64  Timestamp_Sys100NS;
  uint64  WriteBytesCachePerSec;
  uint64  WriteBytesNetworkPerSec;
  uint64  WriteBytesNonPagingPerSec;
  uint64  WriteBytesPagingPerSec;
  uint64  WriteOperationsRandomPerSec;
  uint64  WritePacketsPerSec;
  uint64  WritePacketsSmallPerSec;
  uint64  WritesDeniedPerSec;
  uint64  WritesLargePerSec;
};

Members

The Win32_PerfFormattedData_PerfNet_Redirector class has these types of members:

  • Properties

Properties

The Win32_PerfFormattedData_PerfNet_Redirector class has these properties.

BytesReceivedPerSec

Data type: uint64

Access type: Read-only

Qualifiers: CookingType ("PERF_COUNTER_BULK_COUNT") , Counter ("BytesReceivedPerSec") , PerfTimeStamp ("Timestamp_PerfTime") , PerfTimeFreq ("Frequency_PerfTime")

Rate of bytes coming in to the LAN Redirector from the network. This property includes all application data as well as network protocol information such as packet headers.

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

BytesTotalPerSec

Data type: uint64

Access type: Read-only

Qualifiers: CookingType ("PERF_COUNTER_BULK_COUNT") , Counter ("BytesTotalPerSec") , PerfTimeStamp ("Timestamp_PerfTime") , PerfTimeFreq ("Frequency_PerfTime")

Rate at which the LAN Redirector is processing data files. This property includes all application and file data in addition to protocol information such as packet headers.

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

BytesTransmittedPerSec

Data type: uint64

Access type: Read-only

Qualifiers: CookingType ("PERF_COUNTER_BULK_COUNT") , Counter ("BytesTransmittedPerSec") , PerfTimeStamp ("Timestamp_PerfTime") , PerfTimeFreq ("Frequency_PerfTime")

Rate at which bytes are leaving the redirector to the network. This property includes all application and file data in addition to protocol information such as packet headers.

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

Caption

Data type: string

Access type: Read-only

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

ConnectsCore

Data type: uint32

Access type: Read-only

Qualifiers: CookingType ("PERF_COUNTER_RAWCOUNT") , Counter ("ConnectsCore") , PerfTimeStamp ("Timestamp_PerfTime") , PerfTimeFreq ("Frequency_PerfTime")

Number of connections to servers running the original MS-Net because of protocol, including MS-Net itself, Xenix, and VAXs.

ConnectsLanManager20

Data type: uint32

Access type: Read-only

Qualifiers: CookingType ("PERF_COUNTER_RAWCOUNT") , Counter ("ConnectsLanManager20") , PerfTimeStamp ("Timestamp_PerfTime") , PerfTimeFreq ("Frequency_PerfTime")

Number of connections to LAN Manager 2.0 servers, including LMX servers.

ConnectsLanManager21

Data type: uint32

Access type: Read-only

Qualifiers: CookingType ("PERF_COUNTER_RAWCOUNT") , Counter ("ConnectsLanManager21") , PerfTimeStamp ("Timestamp_PerfTime") , PerfTimeFreq ("Frequency_PerfTime")

Number of connections to LAN Manager 2.1 servers, including LMX servers.

ConnectsWindowsNT

Data type: uint32

Access type: Read-only

Qualifiers: CookingType ("PERF_COUNTER_RAWCOUNT") , Counter ("ConnectsWindowsNT") , PerfTimeStamp ("Timestamp_PerfTime") , PerfTimeFreq ("Frequency_PerfTime")

Count of the connections to remote computers.

CurrentCommands

Data type: uint32

Access type: Read-only

Qualifiers: CookingType ("PERF_COUNTER_RAWCOUNT") , Counter ("CurrentCommands") , PerfTimeStamp ("Timestamp_PerfTime") , PerfTimeFreq ("Frequency_PerfTime")

Count of the requests to the LAN Redirector that are currently queued for service. Performance for the network or servers is greatly slowed if this number is much larger than the number of network adapter cards installed in the computer.

Description

Data type: string

Access type: Read-only

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

FileDataOperationsPerSec

Data type: uint32

Access type: Read-only

Qualifiers: CookingType ("PERF_COUNTER_COUNTER") , Counter ("FileDataOperationsPerSec") , PerfTimeStamp ("Timestamp_PerfTime") , PerfTimeFreq ("Frequency_PerfTime")

Rate at which the LAN Redirector is processing data operations. To determine the efficiency of the data path, divide BytesPerSec by this property to calculate the average number of bytes transferred per operation.

FileReadOperationsPerSec

Data type: uint32

Access type: Read-only

Qualifiers: CookingType ("PERF_COUNTER_COUNTER") , Counter ("FileReadOperationsPerSec") , PerfTimeStamp ("Timestamp_PerfTime") , PerfTimeFreq ("Frequency_PerfTime")

Rate at which applications are asking the LAN Redirector for data. Each call to a file system or similar function call counts as one operation.

FileWriteOperationsPerSec

Data type: uint32

Access type: Read-only

Qualifiers: CookingType ("PERF_COUNTER_COUNTER") , Counter ("FileWriteOperationsPerSec") , PerfTimeStamp ("Timestamp_PerfTime") , PerfTimeFreq ("Frequency_PerfTime")

Rate at which applications are sending data to the LAN Redirector. Each call to a file system or similar function call counts as one operation.

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.

NetworkErrorsPerSec

Data type: uint32

Access type: Read-only

Qualifiers: CookingType ("PERF_COUNTER_COUNTER") , Counter ("NetworkErrorsPerSec") , PerfTimeStamp ("Timestamp_PerfTime") , PerfTimeFreq ("Frequency_PerfTime")

Count of errors that, in general, indicate communication difficulties between the LAN Redirector and one or more servers. For example, an Server Manager Block (SMB) protocol error generates a network error. Detailed information for such errors can be found in the system event log entry for the error.

PacketsPerSec

Data type: uint64

Access type: Read-only

Qualifiers: CookingType ("PERF_COUNTER_COUNTER") , Counter ("PacketsPerSec") , PerfTimeStamp ("Timestamp_PerfTime") , PerfTimeFreq ("Frequency_PerfTime")

Rate at which the LAN Redirector is processing data packets. To determine the efficiency of the data path, divide BytesTotalPerSec by this property to calculate the average number of bytes transferred per packet. To determine the average number of packets per operation, another measure of efficiency, divide this property by FileDataOperationsPerSec.

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

PacketsReceivedPerSec

Data type: uint64

Access type: Read-only

Qualifiers: CookingType ("PERF_COUNTER_BULK_COUNT") , Counter ("PacketsReceivedPerSec") , PerfTimeStamp ("Timestamp_PerfTime") , PerfTimeFreq ("Frequency_PerfTime")

Rate at which the LAN Redirector is receiving packets (also called SMBs or Server Message Blocks). To obtain the average number of bytes received in a packet, divide BytesReceivedPerSec by this property. Some packets received might not contain incoming data. For example, an acknowledgment to a write made by the LAN Redirector would count as an incoming packet.

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

PacketsTransmittedPerSec

Data type: uint64

Access type: Read-only

Qualifiers: CookingType ("PERF_COUNTER_BULK_COUNT") , Counter ("PacketsTransmittedPerSec") , PerfTimeStamp ("Timestamp_PerfTime") , PerfTimeFreq ("Frequency_PerfTime")

Rate at which the LAN Redirector is sending packets (SMBs or Server Message Blocks). To obtain the average number of bytes transmitted in a packet, divide BytesTransmittedPerSec by this property.

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

ReadBytesCachePerSec

Data type: uint64

Access type: Read-only

Qualifiers: CookingType ("PERF_COUNTER_BULK_COUNT") , Counter ("ReadBytesCachePerSec") , PerfTimeStamp ("Timestamp_PerfTime") , PerfTimeFreq ("Frequency_PerfTime")

Rate at which applications are accessing the file system cache by using the LAN Redirector. Some of these data requests are satisfied by retrieving the data from the cache. Requests that miss the cache cause a page fault (see ReadBytesPagingPerSec).

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

ReadBytesNetworkPerSec

Data type: uint64

Access type: Read-only

Qualifiers: CookingType ("PERF_COUNTER_BULK_COUNT") , Counter ("ReadBytesNetworkPerSec") , PerfTimeStamp ("Timestamp_PerfTime") , PerfTimeFreq ("Frequency_PerfTime")

Rate at which applications are reading data across the network. This occurs when data sought in the file system cache is not found there and must be retrieved from the network. Dividing this value by BytesReceivedPerSec indicates the proportion of application data traveling across the network. (see BytesReceivedPerSec).

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

ReadBytesNonPagingPerSec

Data type: uint64

Access type: Read-only

Qualifiers: CookingType ("PERF_COUNTER_BULK_COUNT") , Counter ("ReadBytesNonPagingPerSec") , PerfTimeStamp ("Timestamp_PerfTime") , PerfTimeFreq ("Frequency_PerfTime")

Rate at which the LAN Redirector reads bytes in response to normal file requests by an application when they are redirected to come from another computer. In addition to file requests, this property includes other methods of reading across the network such as named pipes and transactions. This property does not count network protocol information such as packet headers, only application data.

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

ReadBytesPagingPerSec

Data type: uint64

Access type: Read-only

Qualifiers: CookingType ("PERF_COUNTER_BULK_COUNT") , Counter ("ReadBytesPagingPerSec") , PerfTimeStamp ("Timestamp_PerfTime") , PerfTimeFreq ("Frequency_PerfTime")

Rate at which the LAN Redirector is attempting to read bytes in response to page faults. Page faults are caused by loading of modules (such as programs and libraries), by a miss in the cache (see ReadBytesCachePerSec or by files directly mapped into the address space of applications (a high-performance feature of Windows).

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

ReadOperationsRandomPerSec

Data type: uint32

Access type: Read-only

Qualifiers: CookingType ("PERF_COUNTER_COUNTER") , Counter ("ReadOperationsRandomPerSec") , PerfTimeStamp ("Timestamp_PerfTime") , PerfTimeFreq ("Frequency_PerfTime")

Rate at which, on a file-by-file basis, read operations are made that are not sequential. If a read is made using a particular file handle, and then is followed by another read that is not immediately the next contiguous byte, this property is incremented by 1.

ReadPacketsPerSec

Data type: uint32

Access type: Read-only

Qualifiers: CookingType ("PERF_COUNTER_COUNTER") , Counter ("ReadPacketsPerSec") , PerfTimeStamp ("Timestamp_PerfTime") , PerfTimeFreq ("Frequency_PerfTime")

Rate at which read packets are being placed on the network. Each time a single packet is sent with a request to read data remotely, this property is incremented by 1.

ReadPacketsSmallPerSec

Data type: uint32

Access type: Read-only

Qualifiers: CookingType ("PERF_COUNTER_COUNTER") , Counter ("ReadPacketsSmallPerSec") , PerfTimeStamp ("Timestamp_PerfTime") , PerfTimeFreq ("Frequency_PerfTime")

Rate of application read requests that are less than one-fourth of the negotiated buffer size of the server.. Too many of these could indicate inefficient use of buffers on the server. This property is incremented one time for each read request. It does not count packets.

ReadsDeniedPerSec

Data type: uint32

Access type: Read-only

Qualifiers: CookingType ("PERF_COUNTER_COUNTER") , Counter ("ReadsDeniedPerSec") , PerfTimeStamp ("Timestamp_PerfTime") , PerfTimeFreq ("Frequency_PerfTime")

Rate at which the server is unable to accommodate requests for raw read operations. When a read is much larger than the server's negotiated buffer size, the LAN Redirector requests a raw read which, if granted, would permit the transfer of the data without the protocol overhead on each packet. To accomplish this the server must lock out other requests, so requests for raw read operations are denied if the server is busy.

ReadsLargePerSec

Data type: uint32

Access type: Read-only

Qualifiers: CookingType ("PERF_COUNTER_COUNTER") , Counter ("ReadsLargePerSec") , PerfTimeStamp ("Timestamp_PerfTime") , PerfTimeFreq ("Frequency_PerfTime")

Rate at which application make read operations that are more than twice the server's negotiated buffer size. Too many large read operations can strain the server's resources. This property is incremented one time for each read. It counts only read operations, not packets.

ServerDisconnects

Data type: uint32

Access type: Read-only

Qualifiers: CookingType ("PERF_COUNTER_RAWCOUNT") , Counter ("ServerDisconnects") , PerfTimeStamp ("Timestamp_PerfTime") , PerfTimeFreq ("Frequency_PerfTime")

Number of times a server has disconnected your redirector.

ServerReconnects

Data type: uint32

Access type: Read-only

Qualifiers: CookingType ("PERF_COUNTER_RAWCOUNT") , Counter ("ServerReconnects") , PerfTimeStamp ("Timestamp_PerfTime") , PerfTimeFreq ("Frequency_PerfTime")

Number of times the LAN Redirector had to reconnect to a server to complete a new active request. The LAN Redirector can be disconnected by the server if it remains inactive for too long. Locally, even if all remote files are closed, the LAN Redirector keeps connections intact for ten minutes. Such inactive connects are called dormant connections. Reconnecting requires a lot of time.

ServerSessions

Data type: uint32

Access type: Read-only

Qualifiers: CookingType ("PERF_COUNTER_RAWCOUNT") , Counter ("ServerSessions") , PerfTimeStamp ("Timestamp_PerfTime") , PerfTimeFreq ("Frequency_PerfTime")

Total number of security objects the LAN Redirector has managed. For example, a logon to a server followed by a network access to the same server establishes one connection, but two sessions.

ServerSessionsHung

Data type: uint32

Access type: Read-only

Qualifiers: CookingType ("PERF_COUNTER_RAWCOUNT") , Counter ("ServerSessionsHung") , PerfTimeStamp ("Timestamp_PerfTime") , PerfTimeFreq ("Frequency_PerfTime")

Number of active sessions that are timed out and unable to proceed due to a lack of response from the remote server.

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 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.

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.

WriteBytesCachePerSec

Data type: uint64

Access type: Read-only

Qualifiers: CookingType ("PERF_COUNTER_BULK_COUNT") , Counter ("WriteBytesCachePerSec") , PerfTimeStamp ("Timestamp_PerfTime") , PerfTimeFreq ("Frequency_PerfTime")

Rate at which applications on your computer are writing to the file system cache by using the LAN Redirector. The data might not leave your computer immediately; it can be retained in the cache for further modification before being written to the network. This saves network traffic. Each write of a byte into the cache is counted here.

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

WriteBytesNetworkPerSec

Data type: uint64

Access type: Read-only

Qualifiers: CookingType ("PERF_COUNTER_BULK_COUNT") , Counter ("WriteBytesNetworkPerSec") , PerfTimeStamp ("Timestamp_PerfTime") , PerfTimeFreq ("Frequency_PerfTime")

Rate at which applications are writing data across the network. Write operations of this type occur when the file system cache is bypassed, for example, named pipes or transactions. These write operations can also occur when the cache writes the bytes to disk to make room for other data. Dividing this property by BytesTransmittedPerSec indicates the proportion of application data being written to the network.

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

WriteBytesNonPagingPerSec

Data type: uint64

Access type: Read-only

Qualifiers: CookingType ("PERF_COUNTER_BULK_COUNT") , Counter ("WriteBytesNonPagingPerSec") , PerfTimeStamp ("Timestamp_PerfTime") , PerfTimeFreq ("Frequency_PerfTime")

Rate at which the LAN Redirector is writing bytes in response to normal file output by an application when they are redirected to another computer. In addition to file requests, this count includes other methods of writing across the network, such as named pipes and transactions. The count include only application data, not include network protocol information.

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

WriteBytesPagingPerSec

Data type: uint64

Access type: Read-only

Qualifiers: CookingType ("PERF_COUNTER_BULK_COUNT") , Counter ("WriteBytesPagingPerSec") , PerfTimeStamp ("Timestamp_PerfTime") , PerfTimeFreq ("Frequency_PerfTime")

Rate at which the LAN Redirector is attempting to write bytes changed in the pages being used by application. The program data changed by modules, such as programs and libraries, that were loaded over the network are written out to disk when no longer needed. Other output pages come from the file system cache (see WriteBytesCachePerSec).

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

WriteOperationsRandomPerSec

Data type: uint64

Access type: Read-only

Qualifiers: CookingType ("PERF_COUNTER_COUNTER") , Counter ("WriteOperationsRandomPerSec") , PerfTimeStamp ("Timestamp_PerfTime") , PerfTimeFreq ("Frequency_PerfTime")

Rate at which, on a file-by-file basis, write requests are made that are not sequential. If a write request is made using a particular file handle, and then is followed by another write request that is not immediately the next contiguous byte, this property is incremented by 1.

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

WritePacketsPerSec

Data type: uint64

Access type: Read-only

Qualifiers: CookingType ("PERF_COUNTER_COUNTER") , Counter ("WritePacketsPerSec") , PerfTimeStamp ("Timestamp_PerfTime") , PerfTimeFreq ("Frequency_PerfTime")

Rate at which write requests are being sent to the network. This property is incremented by 1 each time a single packet is sent with a request to write remote data.

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

WritePacketsSmallPerSec

Data type: uint64

Access type: Read-only

Qualifiers: CookingType ("PERF_COUNTER_COUNTER") , Counter ("WritePacketsSmallPerSec") , PerfTimeStamp ("Timestamp_PerfTime") , PerfTimeFreq ("Frequency_PerfTime")

Rate at which applications make write requests that are less than one-fourth of the server's negotiated buffer size. A large number of this type of write request can indicate a waste of buffers on the server. This property is incremented one time for each write request. The property it counts write operations, not packets.

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

WritesDeniedPerSec

Data type: uint64

Access type: Read-only

Qualifiers: CookingType ("PERF_COUNTER_COUNTER") , Counter ("WritesDeniedPerSec") , PerfTimeStamp ("Timestamp_PerfTime") , PerfTimeFreq ("Frequency_PerfTime")

Rate at which the server is unable to accommodate requests for raw write requests. When a write request is much larger than the server's negotiated buffer size, the LAN Redirector requests a raw write request which, if granted, permits the transfer of data without the protocol overhead on each packet. Raw write requests require the server to lock out other requests, so the request is denied if the server is very busy.

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

WritesLargePerSec

Data type: uint64

Access type: Read-only

Qualifiers: CookingType ("PERF_COUNTER_COUNTER") , Counter ("WritesLargePerSec") , PerfTimeStamp ("Timestamp_PerfTime") , PerfTimeFreq ("Frequency_PerfTime")

Rate at which applications made write requests that are more than twice the server's negotiated buffer size. Too many large write requests can strain the server's resources. This property is incremented one time for each write. It counts only write requests, not packets.

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; WmiCookr.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