要查看内存的速度,制造商等信息需要使用dmidecode命令,注意需要root权限。
# dmidecode --type 17
或者
# dmidecode --type memory
或者:
# dmidecode -t 17
输出样例:
SMBIOS 2.5 present.
Handle 0x0017, DMI type 17, 27 bytes
Memory Device
Array Handle: 0x0016
Error Information Handle: No Error
Total Width: 72 bits
Data Width: 64 bits
Size: 2048 MB
Form Factor: DIMM
Set: 1
Locator: DIMM1A
Bank Locator: Bank1
Type: DDR2
Type Detail: Synchronous
Speed: 667 MHz
Manufacturer: 5185
Serial Number: 05009F22
Asset Tag: Not Specified
Part Number: 72T232220HFA3SB
# dmidecode --type 17
或者
# dmidecode --type memory
或者:
# dmidecode -t 17
输出样例:
SMBIOS 2.5 present.
Handle 0x0017, DMI type 17, 27 bytes
Memory Device
Array Handle: 0x0016
Error Information Handle: No Error
Total Width: 72 bits
Data Width: 64 bits
Size: 2048 MB
Form Factor: DIMM
Set: 1
Locator: DIMM1A
Bank Locator: Bank1
Type: DDR2
Type Detail: Synchronous
Speed: 667 MHz
Manufacturer: 5185
Serial Number: 05009F22
Asset Tag: Not Specified
Part Number: 72T232220HFA3SB