Versions in this module Expand all Collapse all v3 v3.21.9 Aug 4, 2021 Changes in this version + type SwapMemoryStat struct + Free uint64 + PgFault uint64 + PgIn uint64 + PgMajFault uint64 + PgOut uint64 + Sin uint64 + Sout uint64 + Total uint64 + Used uint64 + UsedPercent float64 + func SwapMemory() (*SwapMemoryStat, error) + func SwapMemoryWithContext(ctx context.Context) (*SwapMemoryStat, error) + func (m SwapMemoryStat) String() string + type VirtualMemoryExStat struct — linux/amd64 + ActiveAnon uint64 + ActiveFile uint64 + InactiveAnon uint64 + InactiveFile uint64 + Unevictable uint64 + func VirtualMemoryEx() (*VirtualMemoryExStat, error) + func VirtualMemoryExWithContext(ctx context.Context) (*VirtualMemoryExStat, error) + func (v VirtualMemoryExStat) String() string + type VirtualMemoryStat struct + Active uint64 + Available uint64 + Buffers uint64 + Cached uint64 + CommitLimit uint64 + CommittedAS uint64 + Dirty uint64 + Free uint64 + HighFree uint64 + HighTotal uint64 + HugePageSize uint64 + HugePagesFree uint64 + HugePagesTotal uint64 + Inactive uint64 + Laundry uint64 + LowFree uint64 + LowTotal uint64 + Mapped uint64 + PageTables uint64 + Shared uint64 + Slab uint64 + Sreclaimable uint64 + Sunreclaim uint64 + SwapCached uint64 + SwapFree uint64 + SwapTotal uint64 + Total uint64 + Used uint64 + UsedPercent float64 + VmallocChunk uint64 + VmallocTotal uint64 + VmallocUsed uint64 + Wired uint64 + WriteBack uint64 + WriteBackTmp uint64 + func VirtualMemory() (*VirtualMemoryStat, error) + func VirtualMemoryWithContext(ctx context.Context) (*VirtualMemoryStat, error) + func (m VirtualMemoryStat) String() string v3.21.8 Aug 4, 2021 Other modules containing this package github.com/Nikhil-dot-Kumar/gopsutil