$ 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
时间: 2024-10-12 20:24:09