Versions in this module Expand all Collapse all v1 v1.1.2 Feb 25, 2019 Changes in this version + func AllPids() []string + func AllThreadPids(pid string) []string + type BuddyInfoInfo struct + Zones []BuddyInfoZone + func BuddyInfo() (BuddyInfoInfo, error) + type BuddyInfoZone struct + Node string + Pages []uint64 + Type string + type CPU struct + Guest uint64 + Guest_nice uint64 + Idle uint64 + Iowait uint64 + Irq uint64 + Name string + Nice uint64 + Softirq uint64 + Steal uint64 + System uint64 + User uint64 + type Context struct + Procfs string + var Ctx Context + 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 + VmallocChunk uint64 + VmallocTotal uint64 + VmallocUsed uint64 + Writeback uint64 + WritebackTmp uint64 + func GetMeminfo() (Meminfo, error) + type StatInfo struct + BootTime uint64 + CPUs []CPU + Ctxt uint64 + Intr []uint64 + PageIn uint64 + PageOut uint64 + Processes uint64 + ProcsBlocked uint64 + ProcsRunning uint64 + SwapIn uint64 + SwapOut uint64 + func Stat() (StatInfo, error) + type UpTimeInfo struct + IdleTime float64 + Uptime float64 + func UpTime() (UpTimeInfo, error) v1.1.0 Sep 4, 2018