Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type SysInfo ¶
type SysInfo struct { Uptime time.Duration `json:"uptime,omitempty"` // time since boot Load float64 `json:"load,omitempty"` // 1 minute load average divided by number of CPU Cores TotalRAM uint64 `json:"totalram,omitempty"` // total usable main memory size [kB] FreeRAM uint64 `json:"freeram,omitempty"` // available memory size [kB] UsedGB uint64 `json:"usedgb,omitempty"` // Used GB of HDD TotalGB uint64 `json:"totalgb,omitempty"` // Total GB of HDD }
SysInfo represents global sustem information
Click to show internal directories.
Click to hide internal directories.