我正在尝试通过运行命令'dmidecode'来确定我的linux机器当前安装的ram类型但是必须有错误,因为ram类型和其他东西仍然未知!?
# dmidecode 2.11
SMBIOS 2.4 present.
Handle 0x001A, DMI type 17, 27 bytes
Memory Device
Array Handle: 0x0019
Error Information Handle: Not Provided
Total Width: 2304 bits
Data Width: 2244 bits
Size: 2048 MB
Form Factor: DIMM
Set: None
Locator: A0
Bank Locator: Bank0/1
Type: Unknown
Type Detail: None
Speed: 1333 MHz
Manufacturer:
Serial Number:
Asset Tag:
Part Number:
有没有其他方法可以找出这些统计数据?
答案 0 :(得分:4)
尝试lshw
,它会提供内存描述和其他系统信息。
答案 1 :(得分:4)
默认情况下不安装lshw,但是hwinfo是。
hwinfo --bios
给了我
[...]
Memory Device: #38
Location: "DIMM1"
Manufacturer: "Hyundai"
Serial: "0F3005F1"
Asset Tag: "000109"
Part Number: "HMT125U6BFR8C-H9"
Memory Array: #36
Form Factor: 0x09 (DIMM)
Type: 0x01 (Other)
Type Detail: 0x0080 (Synchronous)
Data Width: 64 bits
Size: 2 GB
Speed: 1333 MHz
Memory Device Mapping: #39
Memory Device: #38
Array Mapping: #37
Row: 1
Interleave Pos: 0
Interleaved Depth: 1
Start Address: 0x00000000
End Address: 0x80000000
[...]