[dash v0.3.1] restore: cpu info

This commit is contained in:
naiba 2021-01-19 21:47:40 +08:00
parent d556d4fc7e
commit 29bc810a8f
2 changed files with 2 additions and 1 deletions

View File

@ -25,6 +25,7 @@
<div class='ui content popup' style="margin-bottom: 0">
系统:@#server.Host.Platform#@-@#server.Host.PlatformVersion#@ [<span
v-if='server.Host.Virtualization'>@#server.Host.Virtualization#@:</span>@#server.Host.Arch#@]<br>
CPU@#server.Host.CPU#@<br>
硬盘:@#formatByteSize(server.State.DiskUsed)#@/@#formatByteSize(server.Host.DiskTotal)#@<br>
内存:@#formatByteSize(server.State.MemUsed)#@/@#formatByteSize(server.Host.MemTotal)#@<br>
交换:@#formatByteSize(server.State.SwapUsed)#@/@#formatByteSize(server.Host.SwapTotal)#@<br>

View File

@ -34,7 +34,7 @@ var CronLock sync.RWMutex
var Crons map[uint64]*model.Cron
var Cron *cron.Cron
var Version = "v0.3.0"
var Version = "v0.3.1"
func ReSortServer() {
ServerLock.RLock()