Started adding node-daemon communication. Added status endpoint
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
namespace MoonlightServers.DaemonShared.Http.Resources.Sys;
|
||||
|
||||
public class SystemInfoResponse
|
||||
{
|
||||
public string CpuModel { get; set; }
|
||||
public double[] CpuUsage { get; set; }
|
||||
public TimeSpan Uptime { get; set; }
|
||||
|
||||
public ulong MemoryTotal { get; set; }
|
||||
public ulong MemoryFree { get; set; }
|
||||
public ulong MemoryAvailable { get; set; }
|
||||
public ulong MemoryCached { get; set; }
|
||||
|
||||
public ulong SwapTotal { get; set; }
|
||||
public ulong SwapFree { get; set; }
|
||||
|
||||
public ulong DiskTotal { get; set; }
|
||||
public ulong DiskFree { get; set; }
|
||||
|
||||
public ulong DiskTotalInodes { get; set; }
|
||||
public ulong DiskFreeInodes { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user