Devang
Devang

Reputation: 89

How to get current CPU and RAM usage, and also how much is available in C# .NET core without looping over all processes?

Is there any method in C# to have the current amount of memory used and how much is available, without needing to loop over all processes and add each workingset64 value?

Upvotes: 2

Views: 6842

Answers (1)

Daniel Lozano
Daniel Lozano

Reputation: 584

Well, you could do this to solve your issue: https://gunnarpeipman.com/aspnet-core-memory-health-check/

Upvotes: 3

Related Questions