閱讀英文

共用方式為


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

產品 版本
.NET 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)