Linux系统中查看服务器型号
查看命令: dmidecode | grep Product
result1:
[root@node1 local]# dmidecode | grep Product
Product Name: QiTianM7170
Product Name: To be filled by O.E.M.
[root@node1 local]#
result2:
[root@node1 ~]# dmidecode | grep Product
Product Name: VMware Virtual Platform
Product Name: 440BX Desktop Reference Platform
[root@node1 ~]#
也许还有其他结果,以后再来补充。