查看系统的硬件信息
1.查看CPU信息
[root@localhost ~]# sudo dmidecode -t processor
# dmidecode 3.2
Getting SMBIOS data from sysfs.
SMBIOS 3.2.0 present.
Handle 0x001B, DMI type 4, 48 bytes
Processor Information
Socket Designation: CPU01
Type: Central Processor
Family: ARM
Manufacturer: HiSilicon
ID: 10 D0 1F 48 00 00 00 00
Signature: Implementor 0x48, Variant 0x1, Architecture 15, Part 0xd01, Revision 0
Version: HUAWEI Kunpeng 920 5220
Voltage: 0.9 V
External Clock: 100 MHz
Max Speed: 2600 MHz
Current Speed: 2600 MHz
Status: Populated, Enabled
Upgrade: Unknown
L1 Cache Handle: 0x0018
L2 Cache Handle: 0x0019
L3 Cache Handle: 0x001A
Serial Number: A1B2C1A322C0A8F3
Asset Tag: To be filled by O.E.M.
Part Number: To be filled by O.E.M.
Core Count: 32
Core Enabled: 32
Thread Count: 32
Characteristics:
64-bit capable
Multi-Core
Execute Protection
Enhanced Virtualization
Power/Performance Control
Handle 0x001F, DMI type 4, 48 bytes
Processor Information
Socket Designation: CPU02
Type: Central Processor
Family: ARM
Manufacturer: HiSilicon
ID: 10 D0 1F 48 00 00 00 00
Signature: Implementor 0x48, Variant 0x1, Architecture 15, Part 0xd01, Revision 0
Version: HUAWEI Kunpeng 920 5220
Voltage: 0.9 V
External Clock: 100 MHz
Max Speed: 2600 MHz
Current Speed: 2600 MHz
Status: Populated, Enabled
Upgrade: Unknown
L1 Cache Handle: 0x001C
L2 Cache Handle: 0x001D
L3 Cache Handle: 0x001E
Serial Number: 39D2C1A321E007F3
Asset Tag: To be filled by O.E.M.
Part Number: To be filled by O.E.M.
Core Count: 32
Core Enabled: 32
Thread Count: 32
Characteristics:
64-bit capable
Multi-Core
Execute Protection
Enhanced Virtualization
Power/Performance Control
1.处理器主要信息
CPU架构:ARM
CPU型号: HUAWEI Kunpeng 920 5220
CPU制造商:HiSilicon
CPU个数:2颗
单颗CPU核心:32
单颗线程数:32
2. 查看BIOS信息
[root@localhost ~]# dmidecode -t bios
# dmidecode 3.2
Getting SMBIOS data from sysfs.
SMBIOS 3.2.0 present.
Handle 0x0000, DMI type 0, 26 bytes
BIOS Information
Vendor: Huawei Corp.
Version: 1.91
Release Date: 07/29/2022
Address: 0x5F000
Runtime Size: 644 kB
ROM Size: 6 MB
Characteristics:
PCI is supported
BIOS is upgradeable
BIOS shadowing is allowed
Boot from CD is supported
Selectable boot is supported
EDD is supported
Japanese floppy for NEC 9800 1.2 MB is supported (int 13h)
Japanese floppy for Toshiba 1.2 MB is supported (int 13h)
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)
3.5"/2.88 MB floppy services are supported (int 13h)
8042 keyboard services are supported (int 9h)
CGA/mono video services are supported (int 10h)
ACPI is supported
USB legacy is supported
BIOS boot specification is supported
Targeted content distribution is supported
UEFI is supported
BIOS Revision: 1.91
Handle 0x0004, DMI type 13, 22 bytes
BIOS Language Information
Language Description Format: Long
Installable Languages: 2
en|US|iso8859-1
zh|CN|unicode
Currently Installed Language: zh|CN|unicode
1.BIOS主要信息
厂商:Huawei Corp.
版本:1.91
3. 查看服务器信息
[root@localhost ~]# dmidecode -t system
# dmidecode 3.2
Getting SMBIOS data from sysfs.
SMBIOS 3.2.0 present.
Handle 0x0001, DMI type 1, 27 bytes
System Information
Manufacturer: Huanghe
Product Name: Huanghe 2280 V2
Version: To be filled by O.E.M.
Serial Number: H180285861221201259
UUID: 8e66bde0-8c2a-bdb9-ed11-30105c491f20
Wake-up Type: Power Switch
SKU Number: To be filled by O.E.M.
Family: To be filled by O.E.M.
Handle 0x0005, DMI type 32, 11 bytes
System Boot Information
Status: No errors detected
[root@localhost ~]#
1.服务器主要信息:
厂商:Huanghe
型号:Huanghe 2280 V2
4. 查看主板信息
[root@localhost ~]# dmidecode -t baseboard
# dmidecode 3.2
Getting SMBIOS data from sysfs.
SMBIOS 3.2.0 present.
Handle 0x0003, DMI type 2, 17 bytes
Base Board Information
Manufacturer: Huanghe
Product Name: BC82AMDGK
Version: V200R002C00
Serial Number: 2106410524FSN7001300
Asset Tag: To be filled by O.E.M.
Features:
Board is a hosting board
Board is replaceable
Location In Chassis: To be filled by O.E.M.
Chassis Handle: 0x0002
Type: Motherboard
Contained Object Handles: 0
1.主板主要信息:
厂商:Huanghe
型号:BC82AMDGK
版本:V200R002C00
5. 查看内存信息
[root@localhost ~]# dmidecode -t memory
# dmidecode 3.2
Getting SMBIOS data from sysfs.
SMBIOS 3.2.0 present.
Handle 0x0006, DMI type 16, 23 bytes
Physical Memory Array
Location: System Board Or Motherboard
Use: System Memory
Error Correction Type: Multi-bit ECC
Maximum Capacity: 4 TB
Error Information Handle: Not Provided
Number Of Devices: 16
Handle 0x0008, DMI type 17, 84 bytes
Memory Device
Array Handle: 0x0006
Error Information Handle: Not Provided
Total Width: 72 bits
Data Width: 64 bits
Size: 32 GB
Form Factor: DIMM
Set: None
Locator: DIMM000 J27
Bank Locator: SOCKET 0 CHANNEL 0 DIMM 0
Type: DDR4
Type Detail: Synchronous Registered (Buffered)
Speed: 2933 MT/s
Manufacturer: Samsung
Serial Number: 437CF040
Asset Tag: 2024
Part Number: M393A4K40DB2-CVF
Rank: 2
Configured Memory Speed: 2933 MT/s
Minimum Voltage: 1.2 V
Maximum Voltage: 1.2 V
Configured Voltage: 1.2 V
Memory Technology: <OUT OF SPEC>
Memory Operating Mode Capability: None
Firmware Version: Not Specified
Module Manufacturer ID: Unknown
Module Product ID: Unknown
Memory Subsystem Controller Manufacturer ID: Unknown
Memory Subsystem Controller Product ID: Unknown
Non-Volatile Size: None
Volatile Size: None
Cache Size: None
Logical Size: None
Handle 0x0009, DMI type 17, 84 bytes
Memory Device
Array Handle: 0x0006
Error Information Handle: Not Provided
Total Width: Unknown
Data Width: Unknown
Size: No Module Installed
Form Factor: DIMM
Set: None
Locator: DIMM001 J28
Bank Locator: SOCKET 0 CHANNEL 0 DIMM 1
Type: Unknown
Type Detail: Unknown Synchronous
Handle 0x000A, DMI type 17, 84 bytes
Memory Device
Array Handle: 0x0006
Error Information Handle: Not Provided
Total Width: Unknown
Data Width: Unknown
Size: No Module Installed
Form Factor: DIMM
Set: None
Locator: DIMM010 J25
Bank Locator: SOCKET 0 CHANNEL 1 DIMM 0
Type: Unknown
Type Detail: Unknown Synchronous
Handle 0x000B, DMI type 17, 84 bytes
Memory Device
Array Handle: 0x0006
Error Information Handle: Not Provided
Total Width: Unknown
Data Width: Unknown
Size: No Module Installed
Form Factor: DIMM
Set: None
Locator: DIMM011 J26
Bank Locator: SOCKET 0 CHANNEL 1 DIMM 1
Type: Unknown
Type Detail: Unknown Synchronous
Handle 0x000C, DMI type 17, 84 bytes
Memory Device
Array Handle: 0x0006
Error Information Handle: Not Provided
Total Width: Unknown
Data Width: Unknown
Size: No Module Installed
Form Factor: DIMM
Set: None
Locator: DIMM020 J19
Bank Locator: SOCKET 0 CHANNEL 2 DIMM 0
Type: Unknown
Type Detail: Unknown Synchronous
Handle 0x000D, DMI type 17, 84 bytes
Memory Device
Array Handle: 0x0006
Error Information Handle: Not Provided
Total Width: Unknown
Data Width: Unknown
Size: No Module Installed
Form Factor: DIMM
Set: None
Locator: DIMM021 J20
Bank Locator: SOCKET 0 CHANNEL 2 DIMM 1
Type: Unknown
Type Detail: Unknown Synchronous
Handle 0x000E, DMI type 17, 84 bytes
Memory Device
Array Handle: 0x0006
Error Information Handle: Not Provided
Total Width: Unknown
Data Width: Unknown
Size: No Module Installed
Form Factor: DIMM
Set: None
Locator: DIMM030 J17
Bank Locator: SOCKET 0 CHANNEL 3 DIMM 0
Type: Unknown
Type Detail: Unknown Synchronous
Handle 0x000F, DMI type 17, 84 bytes
Memory Device
Array Handle: 0x0006
Error Information Handle: Not Provided
Total Width: Unknown
Data Width: Unknown
Size: No Module Installed
Form Factor: DIMM
Set: None
Locator: DIMM031 J18
Bank Locator: SOCKET 0 CHANNEL 3 DIMM 1
Type: Unknown
Type Detail: Unknown Synchronous
Handle 0x0010, DMI type 17, 84 bytes
Memory Device
Array Handle: 0x0006
Error Information Handle: Not Provided
Total Width: 72 bits
Data Width: 64 bits
Size: 32 GB
Form Factor: DIMM
Set: None
Locator: DIMM100 J43
Bank Locator: SOCKET 1 CHANNEL 0 DIMM 0
Type: DDR4
Type Detail: Synchronous Registered (Buffered)
Speed: 2933 MT/s
Manufacturer: Samsung
Serial Number: 437D07F1
Asset Tag: 2024
Part Number: M393A4K40DB2-CVF
Rank: 2
Configured Memory Speed: 2933 MT/s
Minimum Voltage: 1.2 V
Maximum Voltage: 1.2 V
Configured Voltage: 1.2 V
Memory Technology: <OUT OF SPEC>
Memory Operating Mode Capability: None
Firmware Version: Not Specified
Module Manufacturer ID: Unknown
Module Product ID: Unknown
Memory Subsystem Controller Manufacturer ID: Unknown
Memory Subsystem Controller Product ID: Unknown
Non-Volatile Size: None
Volatile Size: None
Cache Size: None
Logical Size: None
Handle 0x0011, DMI type 17, 84 bytes
Memory Device
Array Handle: 0x0006
Error Information Handle: Not Provided
Total Width: Unknown
Data Width: Unknown
Size: No Module Installed
Form Factor: DIMM
Set: None
Locator: DIMM101 J44
Bank Locator: SOCKET 1 CHANNEL 0 DIMM 1
Type: Unknown
Type Detail: Unknown Synchronous
Handle 0x0012, DMI type 17, 84 bytes
Memory Device
Array Handle: 0x0006
Error Information Handle: Not Provided
Total Width: Unknown
Data Width: Unknown
Size: No Module Installed
Form Factor: DIMM
Set: None
Locator: DIMM110 J41
Bank Locator: SOCKET 1 CHANNEL 1 DIMM 0
Type: Unknown
Type Detail: Unknown Synchronous
Handle 0x0013, DMI type 17, 84 bytes
Memory Device
Array Handle: 0x0006
Error Information Handle: Not Provided
Total Width: Unknown
Data Width: Unknown
Size: No Module Installed
Form Factor: DIMM
Set: None
Locator: DIMM111 J42
Bank Locator: SOCKET 1 CHANNEL 1 DIMM 1
Type: Unknown
Type Detail: Unknown Synchronous
Handle 0x0014, DMI type 17, 84 bytes
Memory Device
Array Handle: 0x0006
Error Information Handle: Not Provided
Total Width: Unknown
Data Width: Unknown
Size: No Module Installed
Form Factor: DIMM
Set: None
Locator: DIMM120 J35
Bank Locator: SOCKET 1 CHANNEL 2 DIMM 0
Type: Unknown
Type Detail: Unknown Synchronous
Handle 0x0015, DMI type 17, 84 bytes
Memory Device
Array Handle: 0x0006
Error Information Handle: Not Provided
Total Width: Unknown
Data Width: Unknown
Size: No Module Installed
Form Factor: DIMM
Set: None
Locator: DIMM121 J36
Bank Locator: SOCKET 1 CHANNEL 2 DIMM 1
Type: Unknown
Type Detail: Unknown Synchronous
Handle 0x0016, DMI type 17, 84 bytes
Memory Device
Array Handle: 0x0006
Error Information Handle: Not Provided
Total Width: Unknown
Data Width: Unknown
Size: No Module Installed
Form Factor: DIMM
Set: None
Locator: DIMM130 J33
Bank Locator: SOCKET 1 CHANNEL 3 DIMM 0
Type: Unknown
Type Detail: Unknown Synchronous
Handle 0x0017, DMI type 17, 84 bytes
Memory Device
Array Handle: 0x0006
Error Information Handle: Not Provided
Total Width: Unknown
Data Width: Unknown
Size: No Module Installed
Form Factor: DIMM
Set: None
Locator: DIMM131 J34
Bank Locator: SOCKET 1 CHANNEL 3 DIMM 1
Type: Unknown
Type Detail: Unknown Synchronous
1.内存主要信息
厂商:Samsung
单个内存大小:32G
类型:DDR4
速度:2933 MT/s
内存个数:2个
6. 查看硬盘信息
备注:没有配置raid情况下:
[root@localhost ~]# sudo lshw -class disk
*-disk:0
description: ATA Disk
product: SAMSUNG MZ7LH480
physical id: 0.8.0
bus info: scsi@12:0.8.0
logical name: /dev/sda
version: 904Q
serial: S45PNC0T252597
size: 447GiB (480GB)
capacity: 447GiB (480GB)
capabilities: gpt-1.00 partitioned partitioned:gpt
configuration: ansiversion=6 guid=5a85a410-0a1f-4359-94a5-fc23b6c026b9 logicalsectorsize=512 sectorsize=4096
*-disk:1
description: ATA Disk
product: SAMSUNG MZ7LH480
physical id: 0.9.0
bus info: scsi@12:0.9.0
logical name: /dev/sdb
version: 904Q
serial: S45PNC0T805185
size: 447GiB (480GB)
capacity: 447GiB (480GB)
capabilities: gpt-1.00 partitioned partitioned:gpt
configuration: ansiversion=6 guid=846018e4-bbb2-4b8a-9a92-4f7db41db82e logicalsectorsize=512 sectorsize=4096
1.硬盘主要信息
厂商:SAMSUNG
型号:SAMSUNG MZ7LH480
容量: 447GiB (约480GB)
速度:2933 MT/s
硬盘数量:两块
类型:SSD(固态硬盘)
6. 查看RAID卡信息
[root@localhost ~]# sudo lshw -class storage
*-sata
description: SATA controller
product: ASMedia Technology Inc.
vendor: ASMedia Technology Inc.
physical id: 0
bus info: pci@0000:0e:00.0
version: 01
width: 32 bits
clock: 33MHz
capabilities: sata msi pm pciexpress ahci_1.0 bus_master cap_list rom
configuration: driver=ahci latency=0
resources: irq:84 memory:61c80000-61c81fff ioport:61c00000(size=524288)
*-raid
description: RAID bus controller
product: MegaRAID SAS-3 3108 [Invader]
vendor: Broadcom / LSI
physical id: 0
bus info: pci@0001:06:00.0
logical name: scsi12
version: 02
width: 64 bits
clock: 33MHz
capabilities: raid pm pciexpress vpd msi msix bus_master cap_list rom
configuration: driver=megaraid_sas latency=0
resources: irq:111 ioport:800000(size=256) memory:20060200000-2006020ffff memory:20060000000-200600fffff ioport:20060100000(size=1048576)
[root@localhost ~]#
1.RAID卡主要信息
厂商:Broadcom / LSI
型号:MegaRAID SAS-3 3108
7. 查看网卡信息
[root@localhost 安装工程介质]# lspci | grep -i ethernet
0000:06:00.0 Ethernet controller: Beijing Wangxun Technology Co., Ltd. WX1860A2 Gigabit Ethernet Controller (rev 01)
0000:06:00.1 Ethernet controller: Beijing Wangxun Technology Co., Ltd. WX1860A2 Gigabit Ethernet Controller (rev 01)
[root@localhost 安装工程介质]# ethtool eno4
Settings for eno4:
Supported ports: [ TP ]
Supported link modes: 10baseT/Full
100baseT/Full
1000baseT/Full
Supported pause frame use: Symmetric
Supports auto-negotiation: Yes
Supported FEC modes: Not reported
Advertised link modes: 10baseT/Full
100baseT/Full
1000baseT/Full
Advertised pause frame use: Symmetric
Advertised auto-negotiation: Yes
Advertised FEC modes: Not reported
Speed: 1000Mb/s
Duplex: Full
Auto-negotiation: on
Port: Twisted Pair
PHYAD: 0
Transceiver: internal
MDI-X: Unknown
Supports Wake-on: umbg
Wake-on: g
Current message level: 0x00000007 (7)
drv probe link
Link detected: yes
[root@localhost 安装工程介质]#
1.网卡主要信息
厂商:Beijing Wangxun
型号:WX1860A2
速度:1000 Mb/s