标签归档文章: free

linux察看可用内存信息及buffer和cache的区别

如何察看linux的内存信息(可用内存和使用内存等信息)
[[email protected] ~]# free -m
                total       used       free     shared    buffers     cached
Mem:         12011       9825       2186          0        243       5829
-/+ buffers/cache:       3752       8259
Swap:        16378        313      16065

if you add buffers and cache together, you get: 6072. If you subtract 6072 from used you get 3752 used and if you add it to free you get 8259 free. 更多…