procfs.py | 119 """Reads and stores information in /proc/pid/statm.""" 145 statm = ProcStatm._PATTERN.match(raw[0]) 147 statm.groupdict().get('SIZE'), 148 statm.groupdict().get('RESIDENT'), 149 statm.groupdict().get('SHARE'), 150 statm.groupdict().get('TEXT'), 151 statm.groupdict().get('LIB'), 152 statm.groupdict().get('DATA'), 153 statm.groupdict().get('DT')) 158 with open(os.path.join('/proc', str(pid), 'statm'), 'r') as statm_f 697 def statm(self): member in class:_ProcessMemory [all...] |