Versions in this module Expand all Collapse all v0 v0.2.0 May 18, 2024 Changes in this version + type HostInformation struct + Information *host.InfoStat + Temperatures []host.TemperatureStat + Users []host.UserStat + func GetHostInformation() (hostInformation HostInformation, err error) v0.1.0 May 18, 2024 Changes in this version + func GetLoadAverages() (loadAverages *load.AvgStat, err error) + func GetMemoryUsage() (memory *mem.VirtualMemoryStat, err error) + func GetSwapUsage() (swap *mem.SwapMemoryStat, err error) + type DiskUsageData struct + DeviceName string + FileSystemOptions string + FileSystemType string + Free uint64 + FreePercent float64 + MountPoint string + Total uint64 + Used uint64 + UsedPercent float64 + func GetDiskUsage() (disks []DiskUsageData, err error) + type PercentStat struct + CPU string + Guest float64 + GuestNice float64 + Idle float64 + Iowait float64 + Irq float64 + Nice float64 + Softirq float64 + Steal float64 + System float64 + User float64 + func GetCpuPercent(perCpu bool) ([]PercentStat, error)