ChecK the temperature of your hard disk in Linux
You can read your hard disk’s temperature if the disk has an inbuilt temperature sensor. hddtem is a tool that will help you to read the temperature. It will give you the temperature of your hard drive by reading the Self-Monitoring Analysis and Reporting Technology (S.M.A.R.T.) information on drives that support this feature. Only modern hard drives have a temperature sensor.
Step 1: Install hddtemp by typing the following command:
#yum install hddtemp
...or whatever your package manager supports.
Step 2: In the terminal, type the following command: #hddtemp /dev/sda
Here ‘/dev/sda’ is the hard disk that we are trying to get the temperature of