linux查看内存的大小 |
本文标签:linux,查看,内存,大小 用free -m查看的结果: # free -m total used free shared buffers cached Mem: 504 471 32 0 19 269 -/+ buffers/cache: 183 321 Swap: 996 0 996 查看/proc/kcore文件的大小: # ll -h /proc/kcore -r-------- 1 root root 512M 10月 26 20:40 /proc/kcore total显示的只有504M,而我系统的实际内存大小是512M的,其中的8M被内核所占用了 |