{{define "theme-default/home"}} {{template "common/header" .}} {{if ts .CustomCode}} {{.CustomCode|safe}} {{end}} {{template "common/menu" .}}
@#(group.Tag!==''?group.Tag:'默认')#@
@#server.Name + (server.live?'':' [已离线]')#@
系统：@#server.Host.Platform#@-@#server.Host.PlatformVersion#@ [@#server.Host.Virtualization#@:@#server.Host.Arch#@]
CPU：@#server.Host.CPU#@
硬盘：@#formatByteSize(server.State.DiskUsed)#@/@#formatByteSize(server.Host.DiskTotal)#@
内存：@#formatByteSize(server.State.MemUsed)#@/@#formatByteSize(server.Host.MemTotal)#@
交换：@#formatByteSize(server.State.SwapUsed)#@/@#formatByteSize(server.Host.SwapTotal)#@
流量：@#formatByteSize(server.State.NetInTransfer)#@@#formatByteSize(server.State.NetOutTransfer)#@
负载：@# toFixed2(server.State.Load1) #@/@# toFixed2(server.State.Load5) #@/@# toFixed2(server.State.Load15) #@
进程数：@# server.State.ProcessCount #@
连接数：TCP @# server.State.TcpConnCount #@ / UDP @# server.State.UdpConnCount #@
启动：@# formatTimestamp(server.Host.BootTime) #@
活动：@# new Date(server.LastActive).toLocaleString() #@
版本：@#server.Host.Version#@
CPU
@#formatPercent(server.live,server.State.CPU,100).percent#@%
内存
@#parseInt(server.State?server.State.MemUsed/server.Host.MemTotal*100:0)#@%
交换
@#parseInt(server.State?server.State.SwapUsed/server.Host.SwapTotal*100:0)#@%
网络
@#formatByteSize(server.State.NetInSpeed)#@/s @#formatByteSize(server.State.NetOutSpeed)#@/s
硬盘
@#parseInt(server.State?server.State.DiskUsed/server.Host.DiskTotal*100:0)#@%
在线
@#secondToDate(server.State.Uptime)#@

@#server.Name#@

节点已离线

{{template "common/footer" .}}
{{end}}