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
Johan Walles 4438159155 Document + add tests for for mem.VirtualMemory()
This change changes and documents the (previously undocumented) behavior of Used
to "RAM used by programs".

We also remove the undocumented and unused Shared field of that struct.

So with this change in place, the VirtualMemoryStruct contains:
* three human-consumable fields for Total, Used and Available memory
* one human-consumable UsedPercentage field
* a number of kernel specific fields
9 years ago
..
mem.go Document + add tests for for mem.VirtualMemory() 9 years ago
mem_darwin.go Split mem_darwin.go into CGO and non CGO variants 9 years ago
mem_darwin_cgo.go Split mem_darwin.go into CGO and non CGO variants 9 years ago
mem_darwin_nocgo.go Split mem_darwin.go into CGO and non CGO variants 9 years ago
mem_darwin_test.go Split mem_darwin.go into CGO and non CGO variants 9 years ago
mem_freebsd.go format go program with go 1.5.2 "go fmt" 9 years ago
mem_linux.go common: rename package common to internal/common. Add ENV helper funcs. 10 years ago
mem_test.go Document + add tests for for mem.VirtualMemory() 9 years ago
mem_windows.go common[all]: add internal 10 years ago