linux查看系统的硬件信息,并不像windows那么直观,这里我罗列了查看系统信息的实用命令,并做了分类,实例解说。
一、查看服务器硬件信息
(1)查看服务器型号、序列号
[root@Master ~]# dmidecode|grep "System Information" -A9|egrep "Manufacturer|Product|Serial"
(2)查看主板型号
[root@Master ~]# dmidecode |grep -A16 "System Information$"
3)查看BIOS信息
[root@Master ~]# dmidecode -t bios
# dmidecode 2。12
SMBIOS 2。8 present。
Handle 0x0008, DMI type 0, 24 bytes
BIOS Information
Vendor: HP
Version: U19
Release Date: 12/27/2015
Address: 0xF0000
Runtime Size: 64 kB
ROM Size: 16384 kB
Characteristics:
PCI is supported
PNP is supported
BIOS is upgradeable
BIOS shadowing is allowed
ESCD support is available
Boot from CD is supported
Selectable boot is supported
EDD is supported
5。25"/360 kB floppy services are supported (int 13h)
5。25"/1。2 MB floppy services are supported (int 13h)
3。5"/720 kB floppy services are supported (int 13h)
Print screen service is supported (int 5h)
8042 keyboard services are supported (int 9h)
Serial services are supported (int 14h)
Printer services are supported (int 17h)
CGA/mono video services are supported (int 10h)
ACPI is supported
USB legacy is supported
BIOS boot specification is supported
Function key-initiated network boot is supported
Targeted content distribution is supported
UEFI is supported
BIOS Revision: 2。0
Firmware Revision: 2。40
(3)查看内存槽及内存条
[root@Master ~]# dmidecode -t memory | head -45 | tail -23
Memory Device
Array Handle: 0x000A
Error Information Handle: Not Provided
Total Width: 72 bits
Data Width: 64 bits linux查看硬件信息命令:http://www.youerw.com/fanwen/lunwen_85480.html