The statm file contains more detailed information about the process memory usage. Its seven fields are explained here.
Field | Content | Comments |
---|---|---|
size | Total program size (pages). | Same as VmSize in status. |
resident | Size of memory portions (pages) | Same as VmRSS in status. |
shared | Number of pages that are shared. | i.e. backed by a file. |
trs | Number of pages that are 'code'. | Not including libs; broken, includes data segment. |
lrs | Number of pages of library. | Always 0 on 2.6. |
drs | Number of pages of data/stack. | |
dt | Number of dirty pages. | Always 0 on 2.6. |