add API solution
This commit is contained in:
19
MareSynchronosAPI/SystemInfoDto.cs
Normal file
19
MareSynchronosAPI/SystemInfoDto.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace MareSynchronos.API
|
||||
{
|
||||
public record SystemInfoDto
|
||||
{
|
||||
public double CpuUsage { get; set; }
|
||||
public long CacheUsage { get; set; }
|
||||
public int UploadedFiles { get; set; }
|
||||
public double NetworkIn { get; set; }
|
||||
public double NetworkOut { get; set; }
|
||||
public int OnlineUsers { get; set; }
|
||||
public long RAMUsage { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user