예제 #1
0
 def get_ext_memory_info(self):
     """Return a tuple with the process' RSS and VMS size."""
     rss, vms, pfaults, pageins = _psutil_osx.get_process_memory_info(self.pid)
     return self._nt_ext_mem(rss, vms,
                             pfaults * _PAGESIZE,
                             pageins * _PAGESIZE)
예제 #2
0
 def get_ext_memory_info(self):
     """Return a tuple with the process' RSS and VMS size."""
     rss, vms, pfaults, pageins = _psutil_osx.get_process_memory_info(
         self.pid)
     return self._nt_ext_mem(rss, vms, pfaults * _PAGESIZE,
                             pageins * _PAGESIZE)
예제 #3
0
 def get_memory_info(self):
     """Return a tuple with the process' RSS and VMS size."""
     rss, vms = _psutil_osx.get_process_memory_info(self.pid)[:2]
     return nt_meminfo(rss, vms)
예제 #4
0
 def get_memory_info(self):
     """Return a tuple with the process' RSS and VMS size."""
     rss, vms = _psutil_osx.get_process_memory_info(self.pid)[:2]
     return nt_meminfo(rss, vms)