Nice command I stumbled across, as I was trying to figure out if the 4GB memory in my new Lenovo T420S was in one or two DIMM's.
dmidecode is a tool for dumping a computer's DMI (some say SMBIOS) table contents in a human-readable format. This table contains a description of the system's hardware components, as well as other useful
pieces of information such as serial numbers and BIOS revision. Thanks to this table, you can retrieve this information without having to probe for the actual hardware. While this is a good point in terms of
report speed and safeness, this also makes the presented information possibly unreliable.
The DMI table doesn't only describe what the system is currently made of, it also can report the possible evolutions (such as the fastest supported CPU or the maximal amount of memory supported).
And there it is.. one bank @ 1333Mhz
Handle 0x0006, DMI type 17, 28 bytes
Array Handle: 0x0005
Error Information Handle: Not Provided
Total Width: 64 bits
Data Width: 64 bits
Size: 4096 MB
Form Factor: SODIMM
Bank Locator: BANK 0
Type Detail: Synchronous
Speed: 1333 MHz
Serial Number: 0097AD23
Asset Tag: 9876543210
Part Number: HMT351S6CFR8C-H9