Entry in /proc/meminfo

前端 未结 3 601
粉色の甜心
粉色の甜心 2021-01-16 05:55

I am now study linux. cat /proc/meminfo produces as following. Please tell me the mean of entry \"Active(file)/Inactive(file)\". I can\'t find the explanation of these entry

3条回答
  •  礼貌的吻别
    2021-01-16 06:14

    And FYI.

    1. Active = Active(anon) + Active(file) Inactive = Inactive(anon) + Inactive(file)
    2. Active(file), Inactive(file) has file back-end which means its original file is in disk but to use it faster it was loaded on RAM.
    3. Active(file) + Inactive(file) + Shmem = Cached + Buffer + SwapCached

提交回复
热议问题