如何在CentOS查看内存信息和频率
发布网友
发布时间:2022-04-26 05:22
我来回答
共2个回答
热心网友
时间:2022-06-21 03:29
Linux 查看内存的插槽数,已经使用多少插槽。每条内存多大,已使用内存多大
1.dmidecode|grep -P -A5 "Memory\s+Device"|grep Size|grep -v Range
2.Size:2048MB
3.Size:2048MB
4.Size:NoMoleInstalled
5.Size:NoMoleInstalled
6.Size:NoMoleInstalled
7.Size:NoMoleInstalled
8.Size:NoMoleInstalled
9.Size:NoMoleInstalled2.Linux
查看内存支持的最大内存容量
1.dmidecode|grep -P 'Maximum\s+Capacity'
2.MaximumCapacity:64GB3.Linux
查看内存的频率
1.dmidecode|grep -A16 "Memory Device"
2.dmidecode|grep -A16 "Memory Device"|grep 'Speed'
3.Speed:667MHz(1.5ns)
4.Speed:667MHz(1.5ns)
5.Speed:667MHz(1.5ns)
6.Speed:667MHz(1.5ns)
7.Speed:667MHz(1.5ns)
8.Speed:667MHz(1.5ns)
9.Speed:667MHz(1.5ns)
10.Speed:667MHz(1.5ns)
热心网友
时间:2022-06-21 03:29
free
vmstat
cat /proc/meminfo