[[email protected] mysql]# free -m
total used free shared buffers cached
Mem: 1853 1585 267 0 50 1374
-/+ buffers/cache: 160 1692
Swap: 3967 0 3967
[[email protected] mysql]# echo 1 > /proc/sys/vm/drop_caches
[[email protected] mysql]# free -m
total used free shared buffers cached
Mem: 1853 119 1733 0 0 6
-/+ buffers/cache: 112 1740
Swap: 3967 0 3967
查看内存条数的命令:
[[email protected] mysql]# dmidecode | grep -A16 "Memory Device$"
时间: 2024-11-03 21:05:14