You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gopsutil/mem
Minje Park 73545ec820 AvailableMemory is't calculated automatically under kenel 3.14 so it is needed to calcuate manually
manual available memory calculation should be done if only memavail is false

Manual Available Memory calculation under kernel 3.14

accurate manaul available memory calculation
6 years ago
..
mem.go SReclaimable should be added to Cached Memory 7 years ago
mem_darwin.go change to use CommandContext. 7 years ago
mem_darwin_cgo.go Add WithContext functions. 7 years ago
mem_darwin_nocgo.go Add WithContext functions. 7 years ago
mem_darwin_test.go add Timeout to invoke command and use common.Invoke refs: #201 9 years ago
mem_fallback.go Add WithContext functions. 7 years ago
mem_freebsd.go Add mem(laundry) numbers on FreeBSD. 7 years ago
mem_linux.go AvailableMemory is't calculated automatically under kenel 3.14 so it is needed to calcuate manually 6 years ago
mem_openbsd.go change to use CommandContext. 7 years ago
mem_openbsd_amd64.go run go fmt ./... 8 years ago
mem_solaris.go change to use CommandContext. 7 years ago
mem_test.go SReclaimable should be added to Cached Memory 7 years ago
mem_windows.go mem[windows]: if no swap, just return 0 used percent default 7 years ago
types_openbsd.go run go fmt ./... 8 years ago