相信大家更換自己筆記本電腦的內存時一定是得心應手,即便是一名新手也可以很輕松的動手實現,其實服務器的內存更換也很簡單,關機->挪蓋->按指定順序插拔。不過這裡有一個很重要的共性前提,需要清楚了解當前硬件所匹配的內存大小型號和插槽數量等依賴關系,接下來是小編為大家收集的Linux查看內存大小和插槽,歡迎大家閱讀:
實踐過程
Linux 查看內存的插槽數,已經使用多少插槽,每條內存多大,已使用內存多大
dmidecode | grep -P -A5 "Memory\s+Device" | grep Size | grep -v Range
Size: 16384 MB
Size: No Module Installed
Size: No Module Installed
Size: 16384 MB
Size: No Module Installed
Size: No Module Installed
Size: 16384 MB
Size: No Module Installed
Size: No Module Installed
Size: 16384 MB
Size: No Module Installed
Size: No Module Installed
Size: 16384 MB
Size: No Module Installed
Size: 16384 MB
Size: No Module Installed
Size: 16384 MB
Size: No Module Installed
Size: 16384 MB
Size: No Module Installed
Linux 查看內存支持的最大內存容量
dmidecode | grep -P 'Maximum\s+Capacity'
Maximum Capacity: 1536 GB
Linux 查看內存的頻率
dmidecode | grep -A16 "Memory Device" | grep "Speed"
Speed: 1600 MHz (0.6 ns)
Speed: Unknown
Speed: Unknown
Speed: 1600 MHz (0.6 ns)
Speed: Unknown
Speed: Unknown
Speed: Unknown
Speed: Unknown
Speed: 1600 MHz (0.6 ns)
Speed: Unknown
Speed: Unknown
Speed: 1600 MHz (0.6 ns)
Speed: 1600 MHz (0.6 ns)
Speed: Unknown
Speed: Unknown
Speed: 1600 MHz (0.6 ns)
Speed: Unknown
Speed: Unknown
Speed: Unknown
Speed: Unknown
Speed: 1600 MHz (0.6 ns)
Speed: Unknown
Speed: Unknown
Speed: 1600 MHz (0.6 ns)
查看詳細的主板信息
dmidecode | grep -A16 "System Information$"
查看詳細的內存信息
dmidecode | grep -A16 "Memory Device$"
dmidecode -t memory
看了“Linux查看內存大小和插槽”還想看:
1.linux怎麼查看內存條數及每根內存大小
2.怎麼使用任務管理器查看內存插槽數量及常用參數
3.內存槽:怎麼查看自己的筆記本電腦有多少個內存槽
4.電腦不拆機內存條插槽個數怎麼查看
5.win7怎麼看內存槽預留