====== Proc - statm file ====== The **statm** file contains more detailed information about the process memory usage. Its seven fields are explained here. ==== Contents of the statm files (as of 2.6.8-rc3) ==== ^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.|Including libs; broken, includes library text. |dt|Number of dirty pages.|Always 0 on 2.6.|