Auf Englisch lesen

Freigeben über


ResourceUtilization Struct

Definition

Captures resource usage at a given point in time.

public readonly struct ResourceUtilization
Inheritance
ResourceUtilization

Constructors

Properties

CpuUsedPercentage

Gets the CPU utilization percentage.

MemoryUsedInBytes

Gets the total memory used.

MemoryUsedPercentage

Gets the memory utilization percentage.

Snapshot

Gets the latest snapshot of the resource utilization of the system.

SystemResources

Gets the CPU and memory limits defined by the underlying system.

Applies to

Produkt Versionen
.NET 6 (package-provided), 8 (package-provided), 9 (package-provided)
.NET Framework 4.7 (package-provided), 4.7.1 (package-provided), 4.7.2 (package-provided), 4.8 (package-provided)