Closed. This question is off-topic。它当前不接受答案。












想改善这个问题吗? Update the question,所以它是用于堆栈溢出的on-topic

7年前关闭。



Improve this question




我试图通过运行命令'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:

还有另一种方法可以找到此统计信息吗?

最佳答案

在SUSE Linux中,默认情况下未安装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
[...]

10-06 03:16