def update_meminfo(self): for k, v in meminfo_fmt(self.pid).iteritems(): setattr(self, k, v)
def update_meminfo(self): for k, v in meminfo_fmt(self.pid).iteritems(): setattr(self, k, v) for worker in self.worker_map.itervalues(): worker.update_meminfo()