In this article we are going to create a txt file and in it we are going to store the hdd temperature for every hour. Install
Code: Select all
apt-get install hddtemp
Code: Select all
crontab -e
Code: Select all
* * * * echo `date`,`/usr/sbin/hddtemp /dev/sda` >> /root/hddtemp.txt
Code: Select all
pico /root/hddtemp.txt
Code: Select all
tail -f /root/hddtmep.txt