Nucleus .Net Core CMS

Instrumentation.ResourceUtilization Class

Namespace: Nucleus.Abstractions.Instrumentation
Assembly: Nucleus.Abstractions.dll
Struct to return resource utilization data from GetUtilization.
ResourceUtilization (Process process, Double cpuUsedPercentage)
Create a new instance of Instrumentation.ResourceUtilization.
Parameters
Name Type
process System.Diagnostics.Process
cpuUsedPercentage Double
The CPU usage percentage of the process, calculated over the specified sample window.
The amount of memory used by the process, in bytes.
The percentage of memory used by the process, calculated as (MemoryUsedInBytes / TotalAvailableMemoryBytes) * 100.
The process start time in (UTC).
The total available memory in the system, in bytes.