List your hardware information
There are times whenever you plan to upgrade your computer’s (or server’s) hardware, but you don’t know or you forgot what you bought a year a go. There are few possibilities to get your information, although some comes as package with most of the modern distros, where others need to be installed from source or from external to your distribution repository.
Some of the solutions are: hwinfo, lshw and dmidecode
For example, if you’d like to check your RAM type, in lshw you’d have to dump the output into a file in order to view the information. With dmidecode, it’s as simple ase
dmidecode --type 17 |
This will list only “type 17”, which is your RAM’s DIMMs. Of course, you will need root privileges to run the command.
Tags: Administration, bash, dmidecode, Linux, Software