package
6.8.15+incompatible
Repository: https://github.com/agilebits/beats.git
Documentation: pkg.go.dev

# Functions

AddHugeTLBPagesPercentage calculates ratio of used huge pages.
AddMemPercentage calculates the ratio of used and total size of memory.
AddSwapPercentage calculates the ratio of used and total swap size.
Get returns the memory stats of the host.
GetHugeTLBPages returns huge pages usage metrics.
GetMemoryEvent returns the event created from memory statistics.
GetSwap returns the swap usage of the host.
GetSwapEvent returns the event created from swap usage.

# Structs

HugeTLBPagesStat includes metrics about huge pages usage.
MemStat includes the memory usage statistics and ratios of usage and total memory usage.
SwapStat includes the current swap usage and the ratio of used and total swap size.