Empty swap and clear memory cache
Just because I was curious, I looked up how to empty swap and memory cache today.
To clear the memory cache:
echo 1 > /proc/sys/vm/drop_caches
To empty the swap:
swapoff -a
swapon -a
Just because I was curious, I looked up how to empty swap and memory cache today.
To clear the memory cache:
echo 1 > /proc/sys/vm/drop_caches
To empty the swap:
swapoff -a
swapon -a
No comments yet.