标签:linux 内存
【资料收集】对linux内存的理解
$ free -m
total used free shared buffers cached
Mem: 32127 24572 7555 0 478 16258
-/+ buffers/cache: 7835 24292
Swap: 20479 97 20382
注意第2行:
实际被程序占用的内存:
-buffers/cache=7835 (used-buffers-cached) 24572-478-16258=7836
实际可用内存总数:
+buffers/cache=24292 (free+buffers+cached) 7555+478+16258=24291
标签:linux 内存
原文地址:http://nosmoking.blog.51cto.com/3263888/1595978