smartctl 로 하드디스크 온도 측정을 할수 있다.
[root@yongbok ~]# cd /usr/ports/sysutils/smartmontools && make install clean
smartd 를 /etc/rc.conf 파일에 적용을 해준다.
[root@yongbok ~]# echo ‘smartd_enable=”YES”‘ >> /etc/rc.conf
하드디스크 정보
[root@yongbok ~]# smartctl -i /dev/ad0
smartctl version 5.38 [i386-portbld-freebsd7.2] Copyright (C) 2002-8 Bruce Allen
Home page is http://smartmontools.sourceforge.net/=== START OF INFORMATION SECTION ===
Model Family: Western Digital Caviar SE family
Device Model: WDC WD5000AAKB-00YSA0
Serial Number: WD-WCAS88436845
Firmware Version: 12.01C02
User Capacity: 500,107,862,016 bytes
Device is: In smartctl database [for details use: -P show]
ATA Version is: 8
ATA Standard is: Exact ATA specification draft version not indicated
Local Time is: Sat Jul 25 13:47:25 2009 KST
SMART support is: Available – device has SMART capability.
SMART support is: EnabledTo see temperature, enter:
하드디스크의 온도 47C
[root@yongbok ~]# smartctl -d ata -A /dev/ad0 | grep -i temperature
194 Temperature_Celsius 0x0022 103 091 000 Old_age Always – 47