红联Linux门户
Linux帮助

在linux查看内存的大小

发布时间:2006-10-28 01:48:05来源:红联作者:febspeolal
用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呢?被内核所占用了?
文章评论

共有 0 条评论