We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b385ab2 commit 3a5051bCopy full SHA for 3a5051b
helper/psutil/def.go
@@ -5,6 +5,7 @@ import (
5
)
6
7
type SummaryStat struct {
8
+ CreateAt int64
9
HostId string
10
HostName string
11
Uptime uint64
helper/psutil/systat.go
@@ -19,6 +19,7 @@ func Summary() *SummaryStat {
19
mv, _ := mem.VirtualMemory()
20
21
return &SummaryStat{
22
+ CreateAt: time.Now().Unix(),
23
HostId: hi.HostID,
24
HostName: hi.Hostname,
25
Uptime: hi.Uptime,
0 commit comments