Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Mem ¶
type Mem struct { VirtMem *mem.VirtualMemoryStat // MemUsedPercentage float64 // already in VirtMem MemAvailablePercentage float64 SwapInfo *mem.SwapMemoryStat }
func LoadMemStat ¶
type MemConfig ¶
type MemConfig struct { MemAvailable thresholds.Thresholds MemUsed thresholds.Thresholds MemFree thresholds.Thresholds MemAvailablePercentage thresholds.Thresholds MemUsedPercentage thresholds.Thresholds MemFreePercentage thresholds.Thresholds SwapUsed thresholds.Thresholds SwapFree thresholds.Thresholds SwapUsedPercentage thresholds.Thresholds SwapFreePercentage thresholds.Thresholds Verbose bool PercentageInPerfdata bool }
Click to show internal directories.
Click to hide internal directories.