知识点之cat /proc/meminfo
root@M6708-T:/var/log# cat /proc/meminfo
MemTotal: 1022988 kB #对应当前系统中可以使用的物理内存
MemFree: 622100 kB #当前空闲的内存数目
MemAvailable: 675396 kB #MemAvailable就是不需要额外磁盘操作(开销较大)就可以使用的空闲内存的数量。
Buffers: 81128 kB
Cached: 118656 kB
SwapCached: 0 kB
Active: 120188 kB
Inactive: 93724 kB
Active(anon): 14932 kB
Inactive(anon): 73952 kB
Active(file): 105256 kB
Inactive(file): 19772 kB
Unevictable: 0 kB
Mlocked: 0 kB
HighTotal: 0 kB
HighFree: 0 kB
LowTotal: 1022988 kB
LowFree: 622100 kB
SwapTotal: 0 kB
SwapFree: 0 kB
Dirty: 8 kB
Writeback: 0 kB
AnonPages: 14124 kB
Mapped: 25840 kB
Shmem: 74760 kB
Slab: 33732 kB
SReclaimable: 22048 kB
SUnreclaim: 11684 kB
KernelStack: 1768 kB
PageTables: 952 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
WritebackTmp: 0 kB
CommitLimit: 511492 kB
Committed_AS: 198404 kB
VmallocTotal: 1032192 kB
VmallocUsed: 0 kB
VmallocChunk: 0 kB
CmaTotal: 327680 kB
CmaFree: 188680 kB
参考--->:
http://www.wowotech.net/memory_management/meminfo_1.html