For troubleshooting purposes you might need to list the hardware components via BASH.
This can be achieved via the following executables.
List all components:
lshw -short
Or individually:
List the installed hard drives (Brand, model).
lshw -class disk
View partition info, including RAID:
lsblk
View installed processor:
lscpu
List PCI card and controllers:
lspci
List main board Brand and model:
dmidecode -t 2
List network card:
lshw -short | grep network
List RAM modules and capacity:
dmidecode –type 17- see the “part number” and google the code.
Example:
Part Number: CT102464BA160B.C16 –> Crucible
Power supply:
dmidecode –type 39
Sensors information:
apt-get install lm-sensors
sensors-detect
sensors
Leave a Reply