当前位置:主页 > 服务器 > Linux >

查看Linux内存条数与清理内存的命令方法

时间:2021-10-17 09:12:21 | 栏目:Linux | 点击:

1.查看当前内存使用状态

free -m   或者 free -g (-m按MB查看, -g按GB查看)

2.整理内存

echo 1 > /proc/sys/vm/drop_caches

3.查看内存条数命令:

dmidecode |grep -A16 "Memory Device$"

您可能感兴趣的文章:

相关文章