已安装的内存大小:

dmidecode -t memory | grep Size: | grep -v "No Module Installed"

最大插槽数量:

 dmidecode -t memory|grep 'Number Of Devices'

转载请注明来源:https://www.longjin666.top/?p=983

欢迎关注我的公众号“灯珑”,让我们一起了解更多的事物~

你也可能喜欢

发表评论