1.清理前内存使用情况
free -m
2.开始清理 echo 1 > /proc/sys/vm/drop_caches
3.清理后内存使用情况 free -m
4.完成!查看内存条数命令:
dmidecode | grep -A16
"Memory Device$"
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# sync# echo 1 > /proc/sys/vm/drop_caches
点击数字可修改金额