网上有很多资料描述status的内容,但是有些是错误的。
综合比较了一下,下面2个的内容应该是正确的。
1、https://locklessinc.com/articles/memory_usage/
VmPeak: | Peak virtual memory usage |
VmSize: | Current virtual memory usage |
VmLck: | Current mlocked memory |
VmHWM: | Peak resident set size |
VmRSS: | Resident set size |
VmData: | Size of "data" segment |
VmStk: | Size of stack |
VmExe: | Size of "text" segment |
VmLib: | Shared library usage |
VmPTE: | Pagetable entries size |
VmSwap: | Swap space used |