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
James Nugent b7760bb5a6 memory: Add basic Solaris VirtualMemory() support
This commit adds support for VirtualMemory() in package mem. The support
only extends to total memory capcity, since that is all that is required
in Nomad. It does take into account global versus non-global zones, and
does not use cgo.

This has been tested inside a zone in the Joyent public cloud for a
non-global zone, and in the global zone of a SmartOS virtual machine.
8 years ago
..
mem.go Add 'SwapCached' to the VirtualMemoryStat informations on linux 9 years ago
mem_darwin.go [mem]darwin: swap memory was Kbytes, since linux is bytes. 8 years ago
mem_darwin_cgo.go Fix memory stats on Darwin, non-CGO 9 years ago
mem_darwin_nocgo.go add Timeout to invoke command and use common.Invoke refs: #201 9 years ago
mem_darwin_test.go add Timeout to invoke command and use common.Invoke refs: #201 9 years ago
mem_fallback.go memory: Add basic Solaris VirtualMemory() support 8 years ago
mem_freebsd.go add Timeout to invoke command and use common.Invoke refs: #201 9 years ago
mem_linux.go Add 'SwapCached' to the VirtualMemoryStat informations on linux 9 years ago
mem_openbsd.go run go fmt ./... 8 years ago
mem_openbsd_amd64.go run go fmt ./... 8 years ago
mem_solaris.go memory: Add basic Solaris VirtualMemory() support 8 years ago
mem_test.go Add 'SwapCached' to the VirtualMemoryStat informations on linux 9 years ago
mem_windows.go fixed by golint. 9 years ago
types_openbsd.go run go fmt ./... 8 years ago