mirror of https://github.com/shirou/gopsutil
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.
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 | 9 years ago | |
mem_darwin.go | 8 years ago | |
mem_darwin_cgo.go | 9 years ago | |
mem_darwin_nocgo.go | 9 years ago | |
mem_darwin_test.go | 9 years ago | |
mem_fallback.go | 8 years ago | |
mem_freebsd.go | 9 years ago | |
mem_linux.go | 9 years ago | |
mem_openbsd.go | 8 years ago | |
mem_openbsd_amd64.go | 8 years ago | |
mem_solaris.go | 8 years ago | |
mem_test.go | 9 years ago | |
mem_windows.go | 9 years ago | |
types_openbsd.go | 8 years ago |