清理内存

echo 1 > /proc/sys/vm/drop_caches

 

查看内存使用情况

free –m

 

查看内存条数命令:

dmidecode |grep -A16 "Memory Device$"