神即道 道法自然 如来

ubuntu 上查看内存信息

内存的插槽数,已经使用多少插槽.每条内存多大,已使用内存多大
:~$ sudo dmidecode|grep -P -A 5 “Memory\s+Device” | grep Size|grep -v Range
Size: 1024 MB
Size: No Module Installed
Size: 1024 MB
Size: No Module Installed
~$
最大内存:
~$ sudo dmidecode | grep -P ‘Maximum\s+Capacity’
Maximum Capacity: 8 GB
~$

sudo dmidecode | grep -A16 “Memory Device”
查看内存的频率
~$ sudo dmidecode | grep -A16 “Memory Device”|grep ‘Speed’
Speed: 800 MHz
Speed: Unknown
Speed: 800 MHz
Speed: Unknown

点赞