github.com/brahmaroutu/docker@v1.2.1-0.20160809185609-eb28dde01f16/pkg/system/meminfo.go (about) 1 package system 2 3 // MemInfo contains memory statistics of the host system. 4 type MemInfo struct { 5 // Total usable RAM (i.e. physical RAM minus a few reserved bits and the 6 // kernel binary code). 7 MemTotal int64 8 9 // Amount of free memory. 10 MemFree int64 11 12 // Total amount of swap space available. 13 SwapTotal int64 14 15 // Amount of swap space that is currently unused. 16 SwapFree int64 17 }