Reading Windows and Linux memory metrics with .NET Core

added by DotNetKicks
8/15/2019 8:59:35 PM

1 Kicks, 307 Views

Until .NET Core gets its own cross-platform system metrics support I needed something simple to get system memory metrics of servers where ASP.NET Core application is running. I wasn't able to find a nice solution but I still worked out something to get system memory metrics with .NET Core on Windows and Linux.