Searched refs:read_from_meminfo (Results 1 – 10 of 10) sorted by relevance
50 memtotal = utils.read_from_meminfo('MemTotal')51 swaptotal = utils.read_from_meminfo('SwapTotal')95 memfree = utils.read_from_meminfo('MemFree')96 swapfree = utils.read_from_meminfo('SwapFree')156 swapfree2 = utils.read_from_meminfo('SwapFree')
182 self.mem_total = utils.read_from_meminfo('MemTotal')183 self.swap_total = utils.read_from_meminfo('SwapTotal')184 self.mem_free = utils.read_from_meminfo('MemFree')185 self.swap_free = utils.read_from_meminfo('SwapFree')406 swaptotal = utils.read_from_meminfo('SwapTotal')
38 mb = utils.freememtotal() + utils.read_from_meminfo('SwapFree') / 2
185 free_mem = int(utils.read_from_meminfo("MemFree"))188 int(utils.read_from_meminfo("SwapFree")))392 host_reserve = ((utils.memtotal() - utils.read_from_meminfo("MemFree"))493 swap = int(utils.read_from_meminfo("SwapTotal")) / 1024
946 keyvals['meminfo_MemUsed'] = (utils.read_from_meminfo('MemTotal') -947 utils.read_from_meminfo('MemFree'))948 keyvals['meminfo_SwapUsed'] = (utils.read_from_meminfo('SwapTotal') -949 utils.read_from_meminfo('SwapFree'))
39 mem_total = self.host.read_from_meminfo(key)
473 def read_from_meminfo(key): function479 return read_from_meminfo('MemTotal')483 return read_from_meminfo('MemFree')487 return int(read_from_meminfo('MemFree') * 0.95)
81 value = utils.read_from_meminfo(k)
415 mf = int(utils.read_from_meminfo("SwapFree")) / 1024
2788 def read_from_meminfo(self, key): member in CrosHost