Home | History | Annotate | Download | only in linux

Lines Matching defs:statm

116   """Reads and stores information in /proc/pid/statm."""
139 statm = ProcStatm._PATTERN.match(raw[0])
141 statm.groupdict().get('SIZE'),
142 statm.groupdict().get('RESIDENT'),
143 statm.groupdict().get('SHARE'),
144 statm.groupdict().get('TEXT'),
145 statm.groupdict().get('LIB'),
146 statm.groupdict().get('DATA'),
147 statm.groupdict().get('DT'))
151 with open(os.path.join('/proc', str(pid), 'statm'), 'r') as statm_f:
679 def statm(self):
713 print ' statm: %d' % (procs[pid].statm.size * 4096)
719 print ' statm: %d' % (procs[pid].statm.resident * 4096)