Answers for "Clear RAM Cache and Swap Space."

0

Clear RAM Cache and Swap Space.

# echo 3 > /proc/sys/vm/drop_caches && swapoff -a && swapon -a && printf '\n%s\n' 'Ram-cache and Swap Cleared'

OR

$ su -c "echo 3 >'/proc/sys/vm/drop_caches' && swapoff -a && swapon -a && printf '\n%s\n' 'Ram-cache and Swap Cleared'" root
Posted by: Guest on June-11-2021

Code answers related to "Clear RAM Cache and Swap Space."

Browse Popular Code Answers by Language