dmidecode command in Linux with Examples

dmidecode also referred as Desktop Management Interface table decoder, record data from DMI table and produce it in human readable format. dmidecode command is used when the user want to retrieve system’s hardware related information such as Processor, RAM(DIMMs), BIOS detail, Memory, Serial numbers etc. of Linux system in a readable format. dmidecode command not only displays the system’s current hardware configuration but also the maximum supported CPU and memory.

Syntax:

dmidecode [OPTIONS]

However, in some Linux/Unix system, it may require root permission in order to run dmidecode command, like the present Linux system which is being used to run the following command require root privilege.



Example 1: Running a simple dmidecode command to get hardware information.

Example 2: To get information about Processor.

Example 3: To get BIOS information.

Options: