A computer system is a combination of different hardware and software components. At times, you wish to extract some details about all the hardware components of your system. If you are operating on a Linux-based system, then you can use the DMIDECODE command to get all the relevant hardware information of your system.
This includes the information related to your processor, RAM, BIOS, etc. As far as the CPU ID is concerned, that unique sequence of characters distinguishes your processor from the others out there
Here at LinuxAPT, we shall look into how to use the DMIDECODE Command.
Examples of using DMIDECODE Command in Linux
1. How to display all the Hardware-Related Information ?
You can display all the hardware-related information on the Linux terminal regardless of the underlying hardware device with the below DMIDECODE command without any flags:
$ sudo dmidecode
This will display all the hardware-related information about our Linux system.
2. How to display all the Processor-Related Information ?
To trim down the output of the DMIDECODE command and print only the processor-related information on the terminal, simply run the below command:
$ sudo dmidecode –t processor
This will display the processor-related information of our Linux system.
3. How to display all the BIOS-Related Information
To display all the BIOS-related information, run the DMIDECODE command below:
$ sudo dmidecode –t bios
This will display all the BIOS-related information of our Linux system.
4. How to display all the Chassis-Related Information
You can use the DMIDECODE command in Linux just for printing all the chassis-related information with the below command:
$ sudo dmidecode –t 3
This will display the chassis-related information of our Linux system.
5. How to access the Help Manual of the DMIDECODE Command ?
Finally, you can access the help manual of the DMIDECODE command by running:
$ dmidecode --help
The help manual of the DMIDECODE command will help to find out all the options that can be paired up for serving various purposes.
[Need help in fixing Linux System issues ? We can help you. ]