check memory linux free code example Example: free memory linux command # sync; echo 1 > /proc/sys/vm/drop_caches