Win32_PerfFormattedData_PerfOS_System class

The Win32_PerfFormattedData_PerfOS_System formatted data class provides precalculated data from performance counters that monitor more than one instance of a component processor on the computer.

This class is shown as the System object in System Monitor and returns the same data found in System Monitor. The WMI source of its data is the high-performance Formatted Performance Data Provider. This class derives its raw data from the corresponding raw class Win32_PerfRawData_PerfOS_System. The original data source is the PerfOS performance library. Data is provided dynamically 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_PerfOS_System : Win32_PerfFormattedData
{
  uint32 AlignmentFixupsPerSec;
  string Caption;
  uint32 ContextSwitchesPerSec;
  string Description;
  uint32 ExceptionDispatchesPerSec;
  uint64 FileControlBytesPerSec;
  uint32 FileControlOperationsPerSec;
  uint32 FileDataOperationsPerSec;
  uint64 FileReadBytesPerSec;
  uint32 FileReadOperationsPerSec;
  uint64 FileWriteBytesPerSec;
  uint32 FileWriteOperationsPerSec;
  uint32 FloatingEmulationsPerSec;
  uint64 Frequency_Object;
  uint64 Frequency_PerfTime;
  uint64 Frequency_Sys100NS;
  string Name;
  uint32 PercentRegistryQuotaInUse;
  uint32 Processes;
  uint32 ProcessorQueueLength;
  uint32 SystemCallsPerSec;
  uint64 SystemUpTime;
  uint32 Threads;
  uint64 Timestamp_Object;
  uint64 Timestamp_PerfTime;
  uint64 Timestamp_Sys100NS;
};

Members

The Win32_PerfFormattedData_PerfOS_System class has these types of members:

  • Properties

Properties

The Win32_PerfFormattedData_PerfOS_System class has these properties.

AlignmentFixupsPerSec

Data type: uint32

Access type: Read-only

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

Rate of alignment faults fixed by the system. This property displays the difference between the values observed in the last two samples, divided by the duration of the sample interval.

Caption

Data type: string

Access type: Read-only

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

ContextSwitchesPerSec

Data type: uint32

Access type: Read-only

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

Rate of switches from one thread to another. Thread switches can occur either inside of a single process or across processes. A thread switch can be caused either by one thread asking another for information, or by a thread being preempted by another, higher priority thread becoming ready to run. The operating system uses process boundaries for subsystem protection in addition to the traditional protection of user and privileged modes. These subsystem processes provide additional protection. Therefore, some work done by the operating system on behalf of an application appears in other subsystem processes in addition to the privileged time in the application. Switching to the subsystem process causes one context switch in the application thread. Switching back causes another context switch in the subsystem thread.

Description

Data type: string

Access type: Read-only

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

ExceptionDispatchesPerSec

Data type: uint32

Access type: Read-only

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

Rate of exceptions dispatched by the system. This property displays the difference between the values observed in the last two samples, divided by the duration of the sample interval.

FileControlBytesPerSec

Data type: uint64

Access type: Read-only

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

Overall rate at which bytes are transferred for all file system operations that are neither read nor write operations, including file system control requests and requests for information about device characteristics or status. This property displays the difference between the values observed in the last two samples, divided by the duration of the sample interval.

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

FileControlOperationsPerSec

Data type: uint32

Access type: Read-only

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

Combined rate of file system operations that are neither read nor write operations, such as file system control requests and requests for information about device characteristics or status. This property is the inverse of the FileDataOperationsPerSec property. This property displays the difference between the values observed in the last two samples, divided by the duration of the sample interval.

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. A single operation optimally includes a large number of bytes, but each operation has overhead. You can determine the efficiency of this path by dividing the BytesPerSec property value by this property to determine the average number of bytes transferred in each operation.

FileReadBytesPerSec

Data type: uint64

Access type: Read-only

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

Overall rate at which bytes are read to satisfy file system read requests to all devices on the computer, including read requests from the file system cache. This property displays the difference between the values observed in the last two samples, divided by the duration of the sample interval.

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

FileReadOperationsPerSec

Data type: uint32

Access type: Read-only

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

Combined rate of file system read requests to all devices on the computer, including requests to read from the file system cache. This property displays the difference between the values observed in the last two samples, divided by the duration of the sample interval.

FileWriteBytesPerSec

Data type: uint64

Access type: Read-only

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

Overall rate at which bytes are written to satisfy file system write requests to all devices on the computer, including write requests to the file system cache. This property displays the difference between the values observed in the last two samples, divided by the duration of the sample interval.

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

FileWriteOperationsPerSec

Data type: uint32

Access type: Read-only

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

Combined rate of the file system write requests to all devices on the computer, including requests to write to data in the file system cache. This property displays the difference between the values observed in the last two samples, divided by the duration of the sample interval.

FloatingEmulationsPerSec

Data type: uint32

Access type: Read-only

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

Rate of floating emulations performed by the system. This property displays the difference between the values observed in the last two samples, divided by the duration of the sample interval.

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. When subclassed, the property can be overridden to be a key property. This property is inherited from CIM_StatisticalInformation.

PercentRegistryQuotaInUse

Data type: uint32

Access type: Read-only

Qualifiers: CookingType ("PERF_RAW_FRACTION") , Counter ("PercentRegistryQuotaInUse") , PerfTimeStamp ("Timestamp_PerfTime") , PerfTimeFreq ("Frequency_PerfTime") , Base ("PercentRegistryQuotaInUse_Base")

Percentage of the total registry quota allowed that is currently being used by the system. This property displays the current percentage value only; it is not an average.

Processes

Data type: uint32

Access type: Read-only

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

Number of processes in the computer at the time of data collection. This is an instantaneous count, not an average over the time interval. Each process represents a running program.

ProcessorQueueLength

Data type: uint32

Access type: Read-only

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

Number of threads in the processor queue. There is a single queue for processor time even on computers with multiple processors. Unlike the disk counters, this property counts ready threads only, not threads that are running. A sustained processor queue of greater than two threads generally indicates processor congestion. This property displays the last observed value only; it is not an average.

SystemCallsPerSec

Data type: uint32

Access type: Read-only

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

Combined rate of calls to Windows system service routines by all processes running on the computer. These routines perform all of the basic scheduling and synchronization of activities on the computer, and provide access to non-graphic devices, memory management, and namespace management. This property displays the difference between the values observed in the last two samples, divided by the duration of the sample interval.

SystemUpTime

Data type: uint64

Access type: Read-only

Qualifiers: CookingType ("PERF_ELAPSED_TIME") , Counter ("SystemUpTime") , PerfTimeStamp ("Timestamp_Object") , PerfTimeFreq ("Frequency_Object")

Elapsed time, in seconds, that the computer has been running after it was last started. This property displays the difference between the start time and the current time.

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

Threads

Data type: uint32

Access type: Read-only

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

Number of threads in the computer at the time of data collection. This is an instantaneous count, not an average over the time interval. A thread is the basic executable entity that can execute instructions in a processor.

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.

Remarks

The Win32_PerfFormattedData_PerfOS_System class is derived from Win32_PerfFormattedData.

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