Gemstone Diagnostics Library
Show/Hide TOC

# SystemPerformanceMonitor Class

Represents a system performance monitor for system level performance statistics, e.g., CPU utilization and available memory.

## Definition

Namespace: Gemstone.Diagnostics
Assembly: Gemstone.Diagnostics (in Gemstone.Diagnostics.dll) Version: 1.0.143 -- Release Build+79eb40252f1ae6e19792fcec1b1933a5e1f74ec8
C#
View Source Request Example

    public class SystemPerformanceMonitor : PerformanceMonitorBase

VB
View Source Request Example

    Public Class SystemPerformanceMonitor
    	Inherits PerformanceMonitorBase

C++
View Source Request Example

    public ref class SystemPerformanceMonitor : public PerformanceMonitorBase

JavaScript
View Source Request Example

    Gemstone.Diagnostics.SystemPerformanceMonitor = function();

    Type.createClass(
    	'Gemstone.Diagnostics.SystemPerformanceMonitor',
    	Gemstone.Diagnostics.PerformanceMonitorBase);

Inheritance
  Object PerformanceMonitorBase SystemPerformanceMonitor

## Constructors

SystemPerformanceMonitor | Creates a new SystemPerformanceMonitor.

## Properties

AvailableMemory | Gets the PerformanceCounter that monitors the remaining available memory of the system in GB.
Counters | Gets a read-only list of the PerformanceCounter objects monitored by the PerformanceMonitor object. (Inherited from PerformanceMonitorBase)
CPUUsage | Gets the PerformanceCounter that monitors the processor utilization of the system.
Default | Gets default reference of SystemPerformanceMonitor.
LifetimeStatus | Gets the lifetime status statistics of the PerformanceMonitor object. (Inherited from PerformanceMonitorBase)
Name | Gets the friendly name of the PerformanceMonitorBase object. (Inherited from PerformanceMonitorBase)
SamplingInterval | Gets or sets the interval, in milliseconds, at which the Counters are to be sampled. (Inherited from PerformanceMonitorBase)
Status | Gets the current status of the PerformanceMonitorBase object. (Inherited from PerformanceMonitorBase)

## Methods

AddCounter(PerformanceCounter) | Adds a PerformanceCounter to be monitored. (Inherited from PerformanceMonitorBase)
AddCounter(String, String, String) | Adds a PerformanceCounter to be monitored. (Inherited from PerformanceMonitorBase)
AddCounter(String, String, String, String) | Adds a PerformanceCounter to be monitored. (Inherited from PerformanceMonitorBase)
AddCounter(String, String, String, String, String) | Adds a PerformanceCounter to be monitored. (Inherited from PerformanceMonitorBase)
AddCounter(String, String, String, String, String, Single, Boolean, FuncSingle, Single, FuncSingle, Boolean) | Adds a PerformanceCounter to be monitored. (Inherited from PerformanceMonitorBase)
Dispose | Releases all the resources used by the PerformanceMonitorBase object. (Inherited from PerformanceMonitorBase)
Dispose(Boolean) | Releases the unmanaged resources used by the PerformanceMonitorBase object and optionally releases the managed resources. (Inherited from PerformanceMonitorBase)
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object)
Finalize | Releases the unmanaged resources before the PerformanceMonitor object is reclaimed by GC. (Inherited from PerformanceMonitorBase)
FindCounter(String) | Returns a PerformanceCounter object matching the specified counter name. (Inherited from PerformanceMonitorBase)
FindCounter(String, String) | Returns a PerformanceCounter object matching the specified counter name. (Inherited from PerformanceMonitorBase)
FindCounters(String) | Returns PerformanceCounter array matching the specified counter name. (Inherited from PerformanceMonitorBase)
FindCounters(String, String) | Returns PerformanceCounter array matching the specified counter name. (Inherited from PerformanceMonitorBase)
GetHashCode | Serves as the default hash function. (Inherited from Object)
GetType | Gets the Type of the current instance. (Inherited from Object)
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object)
RemoveCounter | Removes a PerformanceCounter being monitored. (Inherited from PerformanceMonitorBase)
SampleCounters | Sample all defined counters. (Inherited from PerformanceMonitorBase)
SampleCustomCounters | Derived class should override this method to sample any custom counters. (Inherited from PerformanceMonitorBase)
ToString | Returns a string that represents the current object. (Inherited from Object)

## See Also

#### Reference

Gemstone.Diagnostics Namespace