查看linux内存条数的命令与清理内存使用

http://blog.chinaunix.net/u3/109532/showart_2200503.html

清理前内存使用情况
free –m   或者 free

echo 1 > /proc/sys/vm/drop_caches

清理后内存使用情况
free -m

完成!

查看内存条数命令:

dmidecode |grep -A16 "Memory Device$"

原文地址:https://www.cnblogs.com/leaven/p/1755692.html