linux syscall to check free memory code example Example: linux how to free memory echo 2 > /proc/sys/vm/drop_caches