mirror of
https://github.com/ryzij/ServerMonitor.git
synced 2026-07-14 03:46:58 +00:00
Добавил метод для получения нагрузки на процессор
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
namespace MonitorAgent.API.Contracts;
|
||||
|
||||
public class CpuUsageResponse(decimal total, IEnumerable<decimal> cores)
|
||||
{
|
||||
public decimal Total { get; set; } = total;
|
||||
public List<decimal> Cores { get; set; } = new([.. cores]);
|
||||
}
|
||||
Reference in New Issue
Block a user