Versions in this module Expand all Collapse all v1 v1.1.2 Feb 25, 2019 v1.1.0 Sep 4, 2018 Changes in this version + func GetMemInfo(mi *MemInfo) + func GetUsedMem(mi *MemInfo) + type MemInfo struct + Active uint64 + ActiveAnon uint64 + ActiveFile uint64 + AnonHugePages uint64 + AnonPages uint64 + Bounce uint64 + Buffers uint64 + Cached uint64 + CmaFree uint64 + CmaTotal uint64 + CommitLimit uint64 + CommittedAS uint64 + DirectMap1G uint64 + DirectMap2M uint64 + DirectMap4k uint64 + Dirty uint64 + HardwareCorrupted uint64 + HugePagesFree uint64 + HugePagesRsvd uint64 + HugePagesSurp uint64 + HugePagesTotal uint64 + Hugepagesize uint64 + Inactive uint64 + InactiveAnon uint64 + InactiveFile uint64 + KernelStack uint64 + Mapped uint64 + MemAvailable uint64 + MemFree uint64 + MemTotal uint64 + Mlocked uint64 + NfsUnstable uint64 + PageTables uint64 + SReclaimable uint64 + SUnreclaim uint64 + Shmem uint64 + Slab uint64 + SwapCached uint64 + SwapFree uint64 + SwapTotal uint64 + Unevictable uint64 + UsedMem int + VmallocChunk uint64 + VmallocTotal uint64 + VmallocUsed uint64 + Writeback uint64 + WritebackTmp uint64 + func All() MemInfo