天天看點

linux 記憶體操作相關指令

清理記憶體

echo 1 > /proc/sys/vm/drop_caches

檢視記憶體使用情況

free –m

檢視記憶體條數指令:

dmidecode |grep -A16 "Memory Device$"