How to find information about your hardware without taking your system apart

Have you ever found yourself in a position when you needed to know something about your motherboard or RAM chips and you didn't feel like turning your computer off and taking apart or you are away from your computer and taking your pc apart is simply not an option? Well, there's a way to get some info about your hardware using console!
Command that you will want to use is:

dmidecode

This command will give you whole bunch of output that will look something similar to this:

nas-1:~# dmidecode
# dmidecode 2.9
SMBIOS 2.4 present.
39 structures occupying 1196 bytes.
Table at 0x000F0100.
 
Handle 0x0000, DMI type 0, 24 bytes
BIOS Information
        Vendor: Award Software International, Inc.
        Version: F8a
        Release Date: 12/06/2007
        Address: 0xE0000
        Runtime Size: 128 kB
        ROM Size: 1024 kB
        Characteristics:
                PCI is supported
                PNP is supported
                APM is supported
                BIOS is upgradeable
                BIOS shadowing is allowed
                Boot from CD is supported
                Selectable boot is supported
                EDD is supported
                5.25"/360 KB floppy services are supported (int 13h)
                5.25"/1.2 MB floppy services are supported (int 13h)
                3.5"/720 KB floppy services are supported (int 13h)
                3.5"/2.88 MB floppy services are supported (int 13h)
                Print screen service is supported (int 5h)
                8042 keyboard services are supported (int 9h)
                Serial services are supported (int 14h)
                Printer services are supported (int 17h)
                CGA/mono video services are supported (int 10h)
                ACPI is supported
                USB legacy is supported
                LS-120 boot is supported
                ATAPI Zip drive boot is supported
                BIOS boot specification is supported
                Targeted content distribution is supported
 
Handle 0x0001, DMI type 1, 27 bytes
System Information
        Manufacturer: Gigabyte Technology Co., Ltd.
        Product Name: P35-DS3L
        Version:
        Serial Number:
        UUID: 00000000-0000-0000-0000-001D7DAB265D
        Wake-up Type: Power Switch
        SKU Number:
        Family:
....

That list goes on and on and on...
If you are interested in something specific, you can get information about:

  • bios
  • system
  • baseboard
  • chassis
  • processor
  • memory
  • cache
  • connector
  • slot
  • To do that, type the following command:

    dmidecode -t <element from list above>

    Comments