以上表明
物理内存有4542M,已经使用了1695m,还剩下2846m的空间未分配,共享内存用了0m,buffers有37m,cached有1500m。
系统真正用了多少内存呢?
1695 - 37-1500 = 158m
就是-/+/buffers/cache哪一行的158m
系统总共空闲多少呢?
4542 - 158 = 4384m
交换空间是多少呢?
6527m
用了多少交换空间呢?
0m 表明系统够用,如果交换空间占用了大量的比例,那么就要考虑加内存了。
什么是buffers呢?
A buffer is something that has yet to be “written” to disk.
什么是cache呢?
A cache is something that has been “read” from the disk and stored for later use。
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/7370972/viewspace-1050289/ ,如需转载,请注明出处,否则将追究法律责任。