mirror of
https://github.com/Caraxi/mare.server.git
synced 2025-12-20 16:34:15 +01:00
add SystemInfoService, increase API to 3
This commit is contained in:
parent
64f6380294
commit
f307c9c486
7 changed files with 184 additions and 20 deletions
19
MareSynchronosServer/MareSynchronos.API/SystemInfoDto.cs
Normal file
19
MareSynchronosServer/MareSynchronos.API/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; }
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue