欢迎访问 生活随笔!

生活随笔

当前位置: 首页 > 编程资源 > 综合教程 >内容正文

综合教程

Centos系统查看bios版本

发布时间:2023/12/15 综合教程 34 生活家
生活随笔 收集整理的这篇文章主要介绍了 Centos系统查看bios版本 小编觉得挺不错的,现在分享给大家,帮大家做个参考.

一般可以使用dmidecode命令。

dmidecode最常用的两个参数是-s和-t,-s后面可以接字符串关键字,即通过字符串来查询,-t后面接数字,通过类型号来进行查询。

  -s参数可以使用的关键字有很多,和bios相关的主要有三个bios-vendor、bios-version、bios-release-date。

  -t参数指明类型查询bios。要查询bios信息其后面的类型号为0。

[root@CENTOS ~]# dmidecode -s bios-vendor
American
[root@CENTOS ~]# dmidecode -s bios-ver-sion
Invalid string keyword: bios-ver‐sion
Valid string keywords are: -s参数后面可以接收的字符串
  bios-vendor
  bios-version
  bios-release-date
  system-manufacturer
  system-product-name
  system-version
  system-serial-number
  system-uuid
  baseboard-manufacturer
  baseboard-product-name
  baseboard-version
  baseboard-serial-number
  baseboard-asset-tag
  chassis-manufacturer
  chassis-type
  chassis-version
  chassis-serial-number
  chassis-asset-tag
  processor-family
  processor-manufacturer
  processor-version
  processor-frequency
[root@CENTOS130 ~]# dmidecode -t
dmidecode: option requires an argument -- 't'
Type number or keyword expected
Valid type keywords are:-t参数后面可以接受的字符串
  bios
  system
  baseboard
  chassis
  processor
  memory
  cache
  connector
  slot

例子:

[root@CENTOS ~]# dmidecode -s bios-version
xxx
[root@CENTOS ~]# dmidecode -s bios-release-date
xxx
[root@CENTOS ~]# dmidecode -t 0
# dmidecode 3.0
Getting SMBIOS data from sysfs.
SMBIOS 2.8 present.

Handle 0x0000, DMI type 0, 26 bytes
BIOS Information
        Vendor: xxxx
        Version:  xx
        Release Date: xxxx
        Address: 0xxxx
        Runtime Size: 64 kB
        ROM Size: 16384 kB
        Characteristics:
                PCI is supported
                BIOS is upgradeable
                BIOS shadowing is allowed
                Boot from CD is supported

        BIOS Revision: 5.14

总结

以上是生活随笔为你收集整理的Centos系统查看bios版本的全部内容,希望文章能够帮你解决所遇到的问题。

如果觉得生活随笔网站内容还不错,欢迎将生活随笔推荐给好友。