Searched refs:swap_free (Results 1 – 6 of 6) sorted by relevance
264 long mem_free, swap_free; in update_mem() local268 swap_free = read_meminfo("SwapFree:"); in update_mem()269 free_total = mem_free + swap_free; in update_mem()
114 swap_free=`cat /proc/meminfo | grep SwapFree | awk '{ print $2 }'`116 mem=$(( $mem_free + $swap_free / 2 ))
547 swap_free = 0; in SystemMemoryInfoKB()580 res->SetInteger("swap_free", swap_free); in ToValue()581 res->SetInteger("swap_used", swap_total - swap_free); in ToValue()649 target = &meminfo->swap_free; in ParseProcMeminfo()
181 EXPECT_EQ(meminfo.swap_free, 3672368); in TEST_F()193 EXPECT_EQ(meminfo.swap_free, 524200); in TEST_F()
285 int swap_free; member
185 self.swap_free = utils.read_from_meminfo('SwapFree')186 self.swap_used = self.swap_total - self.swap_free