Linux下查看内存硬件信息(容量、槽位、品牌)

[root@langchao048 ~]# dmidecode -t memory|more
# dmidecode 2.12
SMBIOS 2.7 present.

Handle 0x0032, DMI type 16, 23 bytes
Physical Memory Array
Location: System Board Or Motherboard
Use: System Memory
Error Correction Type: Multi-bit ECC
Maximum Capacity: 96 GB
Error Information Handle: Not Provided
Number Of Devices: 8

Handle 0x0034, DMI type 17, 34 bytes
Memory Device
Array Handle: 0x0032
Error Information Handle: Not Provided
Total Width: 72 bits
Data Width: 64 bits
Size: 32 GB
Form Factor: DIMM
Set: None
Locator: Node0_Dimm0
Bank Locator: Node0_Bank0
Type: DDR3
Type Detail: Synchronous
Speed: 1066 MHz
Manufacturer: Samsung
Serial Number: 721FA2E6
Asset Tag: Dimm0_AssetTag
Part Number: M386B4G70DM0-YK04
Rank: 1
Configured Clock Speed: 1066 MHz

Handle 0x0036, DMI type 17, 34 bytes
Memory Device
Array Handle: 0x0032
Error Information Handle: Not Provided
Total Width: 72 bits
Data Width: 64 bits
Size: No Module Installed
Form Factor: DIMM
Set: None
Locator: Node0_Dimm1
Bank Locator: Node0_Bank0
Type: Unknown
Type Detail: Synchronous
Speed: Unknown
Manufacturer: Dimm1_Manufacturer
Serial Number: Dimm1_SerNum
Asset Tag: Dimm1_AssetTag
Part Number: A1_Dimm1_PartNumber
Rank: Unknown
Configured Clock Speed: Unknown

Handle 0x0038, DMI type 17, 34 bytes
Memory Device
Array Handle: 0x0032
Error Information Handle: Not Provided
Total Width: 72 bits
Data Width: 64 bits
Size: 32 GB
Form Factor: DIMM
Set: None
Locator: Node0_Dimm2
Bank Locator: Node0_Bank0
Type: DDR3
Type Detail: Synchronous
Speed: 1066 MHz
Manufacturer: Samsung
Serial Number: 721EC672
Asset Tag: Dimm2_AssetTag
Part Number: M386B4G70DM0-YK04
Rank: 1
Configured Clock Speed: 1066 MHz

 

 

[root@langchao048 ~]# dmidecode -t memory|grep -E ‘Asset|Manufacturer’
Manufacturer: Samsung
Asset Tag: Dimm0_AssetTag
Manufacturer: Dimm1_Manufacturer
Asset Tag: Dimm1_AssetTag
Manufacturer: Samsung
Asset Tag: Dimm2_AssetTag
Manufacturer: Dimm3_Manufacturer
Asset Tag: Dimm3_AssetTag
Manufacturer: Dimm4_Manufacturer
Asset Tag: Dimm4_AssetTag
Manufacturer: Dimm5_Manufacturer
Asset Tag: Dimm5_AssetTag
Manufacturer: Dimm6_Manufacturer
Asset Tag: Dimm6_AssetTag
Manufacturer: Dimm7_Manufacturer
Asset Tag: Dimm7_AssetTag
Manufacturer: Samsung
Asset Tag: Dimm0_AssetTag
Manufacturer: Dimm1_Manufacturer
Asset Tag: Dimm1_AssetTag
Manufacturer: Samsung
Asset Tag: Dimm2_AssetTag
Manufacturer: Dimm3_Manufacturer
Asset Tag: Dimm3_AssetTag
Manufacturer: Dimm4_Manufacturer
Asset Tag: Dimm4_AssetTag
Manufacturer: Dimm5_Manufacturer
Asset Tag: Dimm5_AssetTag
Manufacturer: Dimm6_Manufacturer
Asset Tag: Dimm6_AssetTag
Manufacturer: Dimm7_Manufacturer
Asset Tag: Dimm7_AssetTag
Manufacturer: Samsung
Asset Tag: Dimm0_AssetTag
Manufacturer: Dimm1_Manufacturer
Asset Tag: Dimm1_AssetTag
Manufacturer: Samsung
Asset Tag: Dimm2_AssetTag
Manufacturer: Dimm3_Manufacturer
Asset Tag: Dimm3_AssetTag
Manufacturer: Dimm4_Manufacturer
Asset Tag: Dimm4_AssetTag
Manufacturer: Dimm5_Manufacturer
Asset Tag: Dimm5_AssetTag
Manufacturer: Dimm6_Manufacturer
Asset Tag: Dimm6_AssetTag
Manufacturer: Dimm7_Manufacturer
Asset Tag: Dimm7_AssetTag
Manufacturer: Samsung
Asset Tag: Dimm0_AssetTag
Manufacturer: Dimm1_Manufacturer
Asset Tag: Dimm1_AssetTag
Manufacturer: Samsung
Asset Tag: Dimm2_AssetTag
Manufacturer: Dimm3_Manufacturer
Asset Tag: Dimm3_AssetTag
Manufacturer: Dimm4_Manufacturer
Asset Tag: Dimm4_AssetTag
Manufacturer: Dimm5_Manufacturer
Asset Tag: Dimm5_AssetTag
Manufacturer: Dimm6_Manufacturer
Asset Tag: Dimm6_AssetTag
Manufacturer: Dimm7_Manufacturer
Asset Tag: Dimm7_AssetTag

发布日期:
分类:Linux-Unix