FreeBSD: Get / Read Hard Disk Temperature Using smartd Tools

by Vivek Gite on October 17, 2007 · 0 comments

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

See also:

Featured Articles:

Share this with other sys admins!
Facebook it - Tweet it - Print it -

Leave a Comment

You can use these HTML tags and attributes for your code and commands: <strong> <em> <ol> <li> <u> <ul> <blockquote> <pre> <a href="" title="">
What is 6 + 7 ?
Please leave these two fields as-is:
Solve the simple math so we know that you are a human and not a bot.




Previous post:

Next post: