linux命令查看服务器的型号、序列号、内存插槽数

1.查看服务器型号、序列号:

[root@localhost ~]#dmidecode|grep “System Information” -A9|egrep  “Manufacturer|Product|Serial”  
       Manufacturer: Dell Inc.
       Product Name: PowerEdge R515
       Serial Number: 7P9H83X

2.Linux 查看内存的插槽数,已经使用多少插槽.每条内存多大
[root@localhost ~]#dmidecode|grep -A5 “Memory Device”|grep Size|grep -v Range
       Size: 4096 MB
       Size: 4096 MB
       Size: No Module Installed
       Size: No Module Installed
       Size: 4096 MB
       Size: 4096 MB
       Size: No Module Installed
       Size: No Module Installed

3.Linux 查看内存的频率
[root@localhost ~]#dmidecode|grep -A16 “Memory Device”|grep ‘Speed’
       Speed: 1600 MHz (0.6 ns)
       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

原创文章,作者:Safeidc,如若转载,请注明出处:https://www.safeidc.cn/414.html

本站不销售、不代购、不提供任何支持,仅分享网络信息,请自行辨别,请遵纪守法、文明上网。