查看现有运行的linux服务器有多少内存条
i161 admin # ssh 192.168.5.209 dmidecode | grep 'Ending Address' -B1 -A2
Starting Address: 0x00000000000
Ending Address: 0x005FFFFFFFF
Range Size: 24 GB //总数
Physical Array Handle: 0x0017
--
Starting Address: 0x00000000000
Ending Address: 0x000000003FF
Range Size: 1 kB //检查有问题被拔掉的内存条
Physical Device Handle: 0x0018
--
Starting Address: 0x00000000000
Ending Address: 0x001FFFFFFFF
Range Size: 8 GB
Physical Device Handle: 0x0019
--
Starting Address: 0x00200000000
Ending Address: 0x003FFFFFFFF
Range Size: 8 GB
Physical Device Handle: 0x001A
--
Starting Address: 0x00400000000
Ending Address: 0x005FFFFFFFF
Range Size: 8 GB
Physical Device Handle: 0x001B