Versions in this module Expand all Collapse all v0 v0.1.0 Jan 14, 2023 Changes in this version + func GetBasicBootTime() string + func GetBasicDateTime() string + func GetBasicDeviceModel() string + func GetBasicTimestamp() string + func GetBasicUpTime() string + func GetBasicUpTimeDHM(uptime string) (day, hour, min string) + func GetCPUArch() (arch, archModel string) + func GetCPUInfo() (hardware, modelName, model, rev, serial string, cores int) + func GetCPULoadAvg(cores int) (load1, load5, load15 string) + func GetCPUSysTemp() string + func GetCPUTemperatureC() float64 + func GetCPUTemperatureF() float64 + func GetDrivesFileSystem() (total, used, free, usedPercent string) + func GetMemoryInfo() (memTotal, memFree, memAvail, buff, cache, swapTotal, swapFree string) + func GetMemorySimple() (memTotal, memAvail, swapTotal, swapFree string) + func GetNetworkIFDetails(ipCmd, interfaceName string) []string + func GetNetworkIFNames(ipCmd string) []string + func GetNetworkIPs() []model.NetworkInfo + func GetOSCodeName() string + func GetOSDistro() string + func GetOSHostName(defDomain string) (hostName, fqdn string) + func GetOSKernel() string + func LoadNetworkIFDetailLines(detailLines []string) (ipAddr, macAddr string)