2013-03-09 76 views
4

我試圖通過運行命令'dmidecode'來確定我的linux機器當前安裝的內存類型,但是必須有錯誤,因爲內存類型和其他東西仍然是未知的!?linux命令內存類型

# 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

就以http://superuser.com/questions/377474/dmidecode-type-memory-showing-wrong-ddr-type看看 – user1929959 2013-03-09 11:13:33

回答

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 
[...] 
4

嘗試lshw,它會給出內存描述和其他系統信息。