展示服务器列表

This commit is contained in:
奶爸 committed 2019-12-09 18:14:31 +08:00
1 parent f7d7e9ef49
commit db364099fb
18 files changed
+173 -77

No files matched your search

+2 -2
View File
@@ -82,8 +82,8 @@ func GetState(delay uint64) *model.State {
}
return &model.State{
CPU: cpuPercent,
MEMTotal: mv.Total,
MEMUsed: mv.Used,
MemTotal: mv.Total,
MemUsed: mv.Used,
SwapTotal: ms.Total,
SwapUsed: ms.Used,
DiskTotal: diskTotal,