$ sudo dmidecode --type memory
# dmidecode 3.0
Getting SMBIOS data from sysfs.
SMBIOS 2.6 present.
Handle 0x000D, DMI type 16, 15 bytes
Physical Memory Array
Location: System Board Or Motherboard
Use: System Memory
Error Correction Type: None
Maximum Capacity: 4 GB
Error Information Handle: Not Provided
Number Of Devices: 2
Handle 0x000F, DMI type 17, 27 bytes
Memory Device
Array Handle: 0x000D
Error Information Handle: Not Provided
Total Width: 64 bits
Data Width: 64 bits
Size: 2048 MB
Form Factor: DIMM
Set: None
Locator: DIMM0
Bank Locator: Not Specified
Type: DDR3
Type Detail: Synchronous
Speed: 1333 MHz
Manufacturer: Hyundai
Serial Number: 1C9390F6
Asset Tag: 011116
Part Number: HMT325U6BFR8C-H9
Handle 0x0011, DMI type 17, 27 bytes
Memory Device
Array Handle: 0x000D
Error Information Handle: Not Provided
Total Width: 64 bits
Data Width: 64 bits
Size: 2048 MB
Form Factor: DIMM
Set: None
Locator: DIMM1
Bank Locator: Not Specified
Type: DDR3
Type Detail: Synchronous
Speed: 1333 MHz
Manufacturer: Hyundai
Serial Number: 1C5390F5
Asset Tag: 011116
Part Number: HMT325U6BFR8C-H9
*--type オプションは -t でもよい。
3. 使用例3(使用可能なタイプの確認)
12345678910111213
$ sudo dmidecode --type
dmidecode: option '--type' requires an argument
Type number or keyword expected
Valid type keywords are:
bios
system
baseboard
chassis
processor
memory
cache
connector
slot
4. その他
その他の使用方法等については sudo dmidecode --help や man dmidecode 等で確認可能。