This article describes how to use dmidecode to obtain the hardware information of Linux servers. it is especially suitable for checking the hardware configurations provided by the host service provider, need a Friend can refer to the first, dmidecode view motherboard information dmidecode-t2 second, dmidecode query memory information dmidecode-t16 here can view the current server this article mainly introduces the use of dmidecode to obtain Linux server hardware information method, it is especially suitable for checking the hardware configurations provided by the host service provider. For more information, see
1. dmidecode view the motherboard information
Dmidecode-t 2
2. dmidecode query memory information
Dmidecode-t 16
You can see the maximum memory size allowed by the current server.
3. check the current memory and slot count
Dmidecode | grep-P-A5 "Memory Device" | grep Size
Fourth, view the number of memory
Dmidecode-t 17
We can see that the current server is 4 GB memory, and then we can see the above data, we can know that it is a memory.
5. View CPU information
Dmidecode-t 4
You can also run the cat/proc/cpuinfo command to view CPU information.
6. View server hard disk information
Cat/proc/scsi
7. dmidecode view memory rate
Dmidecode | grep-A16 "Memory Device" | grep 'Speed'