Click or drag to resize

SystemPerformanceMonitor Class

Represents a system performance monitor for system level performance statistics, e.g., CPU utilization and available memory.
Inheritance Hierarchy
SystemObject
  GSF.DiagnosticsPerformanceMonitorBase
    GSF.DiagnosticsSystemPerformanceMonitor

Namespace: GSF.Diagnostics
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.207-beta+1781b796b2aa7a54013a031eb432fe4ccee31867
Syntax
public class SystemPerformanceMonitor : PerformanceMonitorBase
View Source

The SystemPerformanceMonitor type exposes the following members.

Constructors
 NameDescription
Public methodSystemPerformanceMonitor Creates a new SystemPerformanceMonitor.
Top
Properties
 NameDescription
Public propertyAvailableMemory Gets the PerformanceCounter that monitors the remaining available memory of the system in GB.
Public propertyCounters Gets a read-only list of the PerformanceCounter objects monitored by the PerformanceMonitor object.
(Inherited from PerformanceMonitorBase)
Public propertyCPUUsage Gets the PerformanceCounter that monitors the processor utilization of the system.
Public propertyStatic memberDefault Gets default reference of SystemPerformanceMonitor.
Public propertyLifetimeStatus Gets the lifetime status statistics of the PerformanceMonitor object.
(Inherited from PerformanceMonitorBase)
Public propertyName Gets the friendly name of the PerformanceMonitorBase object.
(Inherited from PerformanceMonitorBase)
Public propertySamplingInterval Gets or sets the interval, in milliseconds, at which the Counters are to be sampled.
(Inherited from PerformanceMonitorBase)
Public propertyStatus Gets the current status of the PerformanceMonitorBase object.
(Inherited from PerformanceMonitorBase)
Top
Methods
 NameDescription
Public methodAddCounter(PerformanceCounter) Adds a PerformanceCounter to be monitored.
(Inherited from PerformanceMonitorBase)
Public methodAddCounter(String, String, String) Adds a PerformanceCounter to be monitored.
(Inherited from PerformanceMonitorBase)
Public methodAddCounter(String, String, String, String) Adds a PerformanceCounter to be monitored.
(Inherited from PerformanceMonitorBase)
Public methodAddCounter(String, String, String, String, String) Adds a PerformanceCounter to be monitored.
(Inherited from PerformanceMonitorBase)
Public methodAddCounter(String, String, String, String, String, Single, Boolean, FuncSingle, Single, FuncSingle, Boolean) Adds a PerformanceCounter to be monitored.
(Inherited from PerformanceMonitorBase)
Public methodDispose Releases all the resources used by the PerformanceMonitorBase object.
(Inherited from PerformanceMonitorBase)
Protected methodDispose(Boolean) Releases the unmanaged resources used by the PerformanceMonitorBase object and optionally releases the managed resources.
(Inherited from PerformanceMonitorBase)
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalize Releases the unmanaged resources before the PerformanceMonitor object is reclaimed by GC.
(Inherited from PerformanceMonitorBase)
Public methodFindCounter(String) Returns a PerformanceCounter object matching the specified counter name.
(Inherited from PerformanceMonitorBase)
Public methodFindCounter(String, String) Returns a PerformanceCounter object matching the specified counter name.
(Inherited from PerformanceMonitorBase)
Public methodFindCounters(String) Returns PerformanceCounter array matching the specified counter name.
(Inherited from PerformanceMonitorBase)
Public methodFindCounters(String, String) Returns PerformanceCounter array matching the specified counter name.
(Inherited from PerformanceMonitorBase)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodRemoveCounter Removes a PerformanceCounter being monitored.
(Inherited from PerformanceMonitorBase)
Public methodSampleCounters Sample all defined counters.
(Inherited from PerformanceMonitorBase)
Protected methodSampleCustomCounters Derived class should override this method to sample any custom counters.
(Inherited from PerformanceMonitorBase)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Extension Methods
 NameDescription
Public Extension MethodGetEnumValueOrDefault Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Public Extension MethodGetEnumValueOrDefaultT Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Top
See Also