how to check how much memory is installed on a linux pc code example Example: free memory linux command # sync; echo 1 > /proc/sys/vm/drop_caches