發表文章

目前顯示的是 5月, 2017的文章

[Linux] 看懂 Linux Memory Usage 記憶體使用率

圖片
欄位說明: a = 總記憶體大小 ( a = b + c / a = g + h ) b = 配給 buffers 與 cache 的記憶體大小(包含未用的 buffers 與 cache) c = 剩下的記憶體大小 e = 配給 buffers 但未用的記憶體大小 f = 配給 cache 但未用的記憶體大小 g = buffers 與 cache 被使用掉的記憶體大小,也就是實際被應用程式用走的 ( g = b – e – f ) h = 那這個就是實際剩下的記憶體大小 ( h = c + e + f ) buffer 與 cache 的區別 : A buffer is something that has yet to be "written" to disk. A cache is something that has been "read" from the disk and stored for later use. 原文出處: https://ssorc.tw/599 (還有很多說明解釋)