Hardware and Devices
dmidecode
To get the Server's Hardware Info
dmidecode -t system
We can also use number to get the details
dmidecode -t <number>
Info
These numbers may be :
- 0 - bios
- 1 - system
- 2 - baseboard
- 3 - chassis
- 4 - processor
- 5 - memory
- 6 - cache
- 7 - connector
- 8 - slot
Note
To get the available options
dmidecond -t
hddtemp
To check the temprature of a hard drive.
hddtemp SATA:/dev/sda
RAID Controller details
To get firmware details
/opt/MegaRAID/storcli/storcli64 /c0 show
Note
Here, c0 represents controller zero, you can put c1 for controller1 and so on.
To get firmware version
$ /opt/MegaRAID/storcli/storcli64 /c0 show | grep "FW Version"
FW Version = 4.260.00-3735
$
udevadm
To monitor the the newly added devices
udevadm monitor