4

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

还有其他方法可以找出这些统计信息吗?

4

2 回答 2

4

试一试lshw,它会给出内存描述和其他系统信息。

于 2013-03-09T10:32:18.593 回答
4

在 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
[...]
于 2013-03-09T16:20:49.553 回答