删除删除
Tofloor
poster avatar
doveki
deepin
2017-12-01 23:23
Author
本帖最后由 doveki 于 2019-11-4 21:57 编辑

删除删除
Reply Favorite View the author
All Replies
avatar
melodyzou
deepin
2017-12-02 00:00
#1
Reply View the author
avatar
duanyao
deepin
2017-12-02 00:43
#2
本帖最后由 duanyao 于 2017-12-1 16:50 编辑

不要看 used 和 free,要看 available 。available 是比较新的内核才支持的概念,有些开发者/软件还没适应过来。
详细解释: https://www.mjmwired.net/kernel/ ... ystems/proc.txt#877

  1. MemAvailable:  An estimate of how much memory is available for starting new
  2.               applications, without swapping. Calculated from MemFree,
  3.               SReclaimable, the size of the file LRU lists, and the low
  4.               watermarks in each zone.
  5.               The estimate takes into account that the system needs some
  6.               page cache to function well, and that not all reclaimable
  7.               slab will be reclaimable, due to items being in use. The
  8.               impact of those factors will vary from system to system.
Copy the Code



Reply View the author
avatar
wangyong
deepin
2017-12-02 02:21
#3
duanyao 发表于 2017-12-1 16:43
不要看 used 和 free,要看 available 。available 是比较新的内核才支持的概念,有些开发者/软件还没适应 ...

楼上这位大神正解,监视器里面的是对的,别的是错的,哈哈哈哈
Reply View the author
avatar
duanyao
deepin
2017-12-02 02:30
#4
https://bbs.deepin.org/post/149339
楼上这位大神正解,监视器里面的是对的,别的是错的,哈哈哈哈

free 命令也没错,只是 available 一栏也是新版本才加的,很多用户不知道它是什么意思,还是按旧的习惯去看。
Reply View the author
avatar
doveki
deepin
2017-12-02 03:35
#5
https://bbs.deepin.org/post/149339
free 命令也没错,只是 available 一栏也是新版本才加的,很多用户不知道它是什么意思,还是按旧的习惯去 ...

available怎么单位换算的
Reply View the author
avatar
duanyao
deepin
2017-12-02 07:16
#6
https://bbs.deepin.org/post/149339
available怎么单位换算的

单位跟其它栏目一样的,你用 free -m,那单位就是 MiB。
Reply View the author
avatar
doveki
deepin
2017-12-02 07:33
#7
本帖最后由 doveki 于 2017-12-1 23:35 编辑
https://bbs.deepin.org/post/149339
单位跟其它栏目一样的,你用 free -m,那单位就是 MiB。

available的数值就是可用的内存?
Reply View the author
avatar
duanyao
deepin
2017-12-02 07:38
#8
https://bbs.deepin.org/post/149339
available的数值就是可用的内存?

没错,这个值归零的话,系统基本上就卡死了。
Reply View the author