How do I read my hard disk temperature using smartool under FreeBSD operating system?
smartd is a daemon that monitors the Self-Monitoring, Analysis and Reporting Technology (SMART) system built into many ATA-3 and later ATA, IDE and SCSI-3 hard drives. The purpose of SMART is to monitor the reliability of the hard drive and predict drive failures, and to carry out different types of drive self-tests.
You need to use the smartctl command to Control and Monitor Utility for SMART Disks.
FreeBSD Install smartctl / smartd
Use FreeBSD ports system as follows:
# cd /usr/ports/sysutils/smartmontools
# make install clean
Make sure your hard disk support SMART monitoring, enter:
# smartctl -i /dev/ad0
To see current hard disk temperature for /dev/ad0 (first hard disk), enter:
# smartctl -d ata -A /dev/ad0 | grep -i temperature