欢迎,来自IP地址为:98.80.143.34 的朋友


Linux系统如何使用命令查看BIOS信息呢,这多多少少都会困扰到用户。

其它,Linux系统查看主机BIOS信息是非常方便的,使用”dmidecode”命令就可以了。这个工具可以查看主机BIOS数据,在执行时需要以root权限登录。

在命令行输入如下命令:

// run as root user ##
# dmidecode | less
// or use sudo ##
$ sudo dmidecode | less

典型输出内容如下:

# dmidecode 3.1
Getting SMBIOS data from sysfs.
SMBIOS 2.4 present.
10 structures occupying 300 bytes.
Table at 0x000FD8D0.

Handle 0x0000, DMI type 0, 24 bytes
BIOS Information
        Vendor: Bochs
        Version: Bochs
        Release Date: 01/01/2011
        Address: 0xE8000
        Runtime Size: 96 kB
        ROM Size: 64 kB
        Characteristics:
                BIOS characteristics not supported
                Targeted content distribution is supported
        BIOS Revision: 1.0

Handle 0x0100, DMI type 1, 27 bytes
System Information
        Manufacturer: Bochs
        Product Name: Bochs
        Version: Not Specified
        Serial Number: f8c66558-ca0d-48fe-a4f0-df2e5a23ab4a
        UUID: f8c66558-ca0d-48fe-a4f0-df2e5a23ab4a
        Wake-up Type: Power Switch
        SKU Number: Not Specified
		Family: Not Specified

Handle 0x0300, DMI type 3, 20 bytes
Chassis Information
        Manufacturer: Bochs
        Type: Other
        Lock: Not Present
        Version: Not Specified
        Serial Number: Not Specified
        Asset Tag: Not Specified
        Boot-up State: Safe
        Power Supply State: Safe
        Thermal State: Safe
        Security Status: Unknown
        OEM Information: 0x00000000
        Height: Unspecified
        Number Of Power Cords: Unspecified

Handle 0x0401, DMI type 4, 32 bytes
Processor Information
        Socket Designation: CPU 1
        Type: Central Processor
        Family: Other
        Manufacturer: Bochs
        ID: F2 06 03 00 FF FB 8B 1F
        Version: Not Specified
        Voltage: Unknown
        External Clock: Unknown
		        Max Speed: 2000 MHz
        Current Speed: 2000 MHz
        Status: Populated, Enabled
        Upgrade: Other
        L1 Cache Handle: Not Provided
        L2 Cache Handle: Not Provided
        L3 Cache Handle: Not Provided

Handle 0x1000, DMI type 16, 15 bytes
Physical Memory Array
        Location: Other
        Use: System Memory
        Error Correction Type: Multi-bit ECC
        Maximum Capacity: 1 GB
        Error Information Handle: Not Provided
        Number Of Devices: 1

Handle 0x1100, DMI type 17, 21 bytes
Memory Device
        Array Handle: 0x1000
        Error Information Handle: 0x0E01
        Total Width: 64 bits
        Data Width: 64 bits
        Size: 1024 MB
        Form Factor: DIMM
        Set: None
        Locator: DIMM 0
        Bank Locator: Not Specified
		        Type: RAM
        Type Detail: None

Handle 0x1300, DMI type 19, 15 bytes
Memory Array Mapped Address
        Starting Address: 0x00000000000
        Ending Address: 0x0003FFFFFFF
        Range Size: 1 GB
        Physical Array Handle: 0x1000
        Partition Width: 1

Handle 0x1400, DMI type 20, 19 bytes
Memory Device Mapped Address
        Starting Address: 0x00000000000
        Ending Address: 0x0003FFFFFFF
        Range Size: 1 GB
        Physical Device Handle: 0x1100
        Memory Array Mapped Address Handle: 0x1300
        Partition Row Position: 1

		Handle 0x2000, DMI type 32, 11 bytes
System Boot Information
        Status: No errors detected

Handle 0x7F00, DMI type 127, 4 bytes
End Of Table

当然,如果觉得内容过多不容易区分的话,可以使用如下命令显示特定内容:

# dmidecode -s system-manufacturer   //制造商
# dmidecode -s system-product-name   //制造商名
# dmidecode -s bios-release-date     //制造日期
# dmidecode -s bios-version          //BIOS版本

可以看到,Linux系统也可方便的使用命令行工具显示BIOS的详细信息。

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注