Searched refs:swap_free (Results 1 – 2 of 2) sorted by relevance
213 long mem_free, swap_free; in update_mem() local216 swap_free = SAFE_READ_MEMINFO("SwapFree:"); in update_mem()217 free_total = mem_free + swap_free; in update_mem()
33 local swap_free=`cat /proc/meminfo | grep SwapFree | awk '{ print $2 }'`36 MEM=$(( $mem_free + $swap_free / 2 ))