<?xml version="1.0" encoding="UTF-8"?><rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
> <channel><title>Comments on: Linux: Monitor Hard Disks Temperature With hddtemp</title> <atom:link href="http://www.cyberciti.biz/tips/howto-monitor-hard-drive-temperature.html/feed" rel="self" type="application/rss+xml" /><link>http://www.cyberciti.biz/tips/howto-monitor-hard-drive-temperature.html</link> <description>This is a Linux sys admin journal by Vivek about sys admin work, Linux tips &#38; tricks, hacks, news and more.</description> <lastBuildDate>Fri, 10 Feb 2012 20:37:43 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>By: mark</title><link>http://www.cyberciti.biz/tips/howto-monitor-hard-drive-temperature.html#comment-174355</link> <dc:creator>mark</dc:creator> <pubDate>Mon, 26 Sep 2011 16:01:28 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/howto-monitor-hard-drive-temperature.html#comment-174355</guid> <description>Not working on USB drives
hddtemp /dev/sde
/dev/sde: WD Ext HDD 1021: S.M.A.R.T. not available</description> <content:encoded><![CDATA[<p>Not working on USB drives</p><p>hddtemp /dev/sde<br
/> /dev/sde: WD Ext HDD 1021: S.M.A.R.T. not available</p> ]]></content:encoded> </item> <item><title>By: pr7vinas</title><link>http://www.cyberciti.biz/tips/howto-monitor-hard-drive-temperature.html#comment-168474</link> <dc:creator>pr7vinas</dc:creator> <pubDate>Thu, 27 Jan 2011 13:53:55 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/howto-monitor-hard-drive-temperature.html#comment-168474</guid> <description>I do not recommend hddtemp. My application fails because of it.
I run it about 30 times and in the middle, it fails. It causes an error on the bus. I&#039;m looking for something better.</description> <content:encoded><![CDATA[<p>I do not recommend hddtemp. My application fails because of it.<br
/> I run it about 30 times and in the middle, it fails. It causes an error on the bus. I&#8217;m looking for something better.</p> ]]></content:encoded> </item> <item><title>By: Erik</title><link>http://www.cyberciti.biz/tips/howto-monitor-hard-drive-temperature.html#comment-166035</link> <dc:creator>Erik</dc:creator> <pubDate>Sun, 26 Dec 2010 19:15:39 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/howto-monitor-hard-drive-temperature.html#comment-166035</guid> <description>You can put a small fan in front of the drives ( in the front of your comp-case ). this well draw fresh (cool) air in and blow it over the Harddisk and cooling it. Also, place your computer on the floor ( the air is cooler on the floor )
I am having this problem : I use hddtemp (daemon) in combination with conky. My 4 internal drives report just fine, but my 2 external sata-drives connected with usb don&#039;t report the temperature ( -&gt; N/A in conky ). The internal and external drives are all Samsung model 103SJ / SI or UJ. ( i tried putting sata: in front of the device name in the conky config file. When i try hddtemp in terminal &#039;hddtemp /dev/sbb&#039; i get &#039;/dev/sdb: SAMSUNG HD103SI: S.M.A.R.T. not available&#039;, when i try &#039;hddtemp sata:/dev/sdb&#039; i get a several lines of weird characters and the correct temperature behind them)
Any suggestions how to fix this ?</description> <content:encoded><![CDATA[<p>You can put a small fan in front of the drives ( in the front of your comp-case ). this well draw fresh (cool) air in and blow it over the Harddisk and cooling it. Also, place your computer on the floor ( the air is cooler on the floor )</p><p>I am having this problem : I use hddtemp (daemon) in combination with conky. My 4 internal drives report just fine, but my 2 external sata-drives connected with usb don&#8217;t report the temperature ( -&gt; N/A in conky ). The internal and external drives are all Samsung model 103SJ / SI or UJ. ( i tried putting sata: in front of the device name in the conky config file. When i try hddtemp in terminal &#8216;hddtemp /dev/sbb&#8217; i get &#8216;/dev/sdb: SAMSUNG HD103SI: S.M.A.R.T. not available&#8217;, when i try &#8216;hddtemp sata:/dev/sdb&#8217; i get a several lines of weird characters and the correct temperature behind them)<br
/> Any suggestions how to fix this ?</p> ]]></content:encoded> </item> <item><title>By: Aario</title><link>http://www.cyberciti.biz/tips/howto-monitor-hard-drive-temperature.html#comment-161474</link> <dc:creator>Aario</dc:creator> <pubDate>Tue, 23 Nov 2010 21:51:23 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/howto-monitor-hard-drive-temperature.html#comment-161474</guid> <description>Hi,
Mine is 59C! It&#039;s too hot. You said cooling options, please someone tell me how can I cool down my hard drive?
Laptop: Acer Aspire 5536
Linux: Ubuntu 10.04
Here&#039;s the output of hddtemp command:
sudo hddtemp /dev/sda
/dev/sda: WDC WD3200BEVT-22ZCT0: 59°C
Thanks in advance.</description> <content:encoded><![CDATA[<p>Hi,<br
/> Mine is 59C! It&#8217;s too hot. You said cooling options, please someone tell me how can I cool down my hard drive?<br
/> Laptop: Acer Aspire 5536<br
/> Linux: Ubuntu 10.04<br
/> Here&#8217;s the output of hddtemp command:<br
/> sudo hddtemp /dev/sda<br
/> /dev/sda: WDC WD3200BEVT-22ZCT0: 59°C<br
/> Thanks in advance.</p> ]]></content:encoded> </item> <item><title>By: Vivek Gite</title><link>http://www.cyberciti.biz/tips/howto-monitor-hard-drive-temperature.html#comment-157978</link> <dc:creator>Vivek Gite</dc:creator> <pubDate>Tue, 13 Jul 2010 14:29:02 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/howto-monitor-hard-drive-temperature.html#comment-157978</guid> <description>Most modern RAID controller expose themself to you via different device name under Linux. See &lt;a href=http://www.cyberciti.biz/faq/linux-checking-sas-sata-disks-behind-adaptec-raid-controllers/ rel=&quot;nofollow&quot;&gt;this FAQ&lt;/a&gt;. Also cli tools provided by RAID controller can be used to obtain the same info. It all depends upon your RAID card. However, hddtemp may not work for RAID based hard disk, use smartctl command:
&lt;pre&gt;smartctl -d scsi --all /dev/sg1  &#124; grep -i temp
Temperature Warning Disabled or Not Supported
Current Drive Temperature:     23 C
Drive Trip Temperature:        65 C
&lt;/pre&gt;
This is from  Adaptec 5405 SAS running FUJITSU hard disks.</description> <content:encoded><![CDATA[<p>Most modern RAID controller expose themself to you via different device name under Linux. See <a
href=http://www.cyberciti.biz/faq/linux-checking-sas-sata-disks-behind-adaptec-raid-controllers/ rel="nofollow">this FAQ</a>. Also cli tools provided by RAID controller can be used to obtain the same info. It all depends upon your RAID card. However, hddtemp may not work for RAID based hard disk, use smartctl command:</p><pre>smartctl -d scsi --all /dev/sg1  | grep -i temp
Temperature Warning Disabled or Not Supported
Current Drive Temperature:     23 C
Drive Trip Temperature:        65 C
</pre><p>This is from  Adaptec 5405 SAS running FUJITSU hard disks.</p> ]]></content:encoded> </item> <item><title>By: Luc</title><link>http://www.cyberciti.biz/tips/howto-monitor-hard-drive-temperature.html#comment-157976</link> <dc:creator>Luc</dc:creator> <pubDate>Tue, 13 Jul 2010 14:10:56 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/howto-monitor-hard-drive-temperature.html#comment-157976</guid> <description>Hi,
First off, thanks for the great tutorial and information.
I have a question. How does this work with RAID drives, or can it? For example, all of my servers are running either RAID-0,2,6, etc and usually all the drives show up as one in linux (ex: /dev/sda).
I have not tried this method yet, but I&#039;m wondering if and how this would work with RAID (where a raid controller connects the drives to the system).
Thanks,
Luc</description> <content:encoded><![CDATA[<p>Hi,</p><p>First off, thanks for the great tutorial and information.</p><p>I have a question. How does this work with RAID drives, or can it? For example, all of my servers are running either RAID-0,2,6, etc and usually all the drives show up as one in linux (ex: /dev/sda).</p><p>I have not tried this method yet, but I&#8217;m wondering if and how this would work with RAID (where a raid controller connects the drives to the system).</p><p>Thanks,<br
/> Luc</p> ]]></content:encoded> </item> <item><title>By: Vivek Gite</title><link>http://www.cyberciti.biz/tips/howto-monitor-hard-drive-temperature.html#comment-157481</link> <dc:creator>Vivek Gite</dc:creator> <pubDate>Wed, 07 Jul 2010 20:42:04 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/howto-monitor-hard-drive-temperature.html#comment-157481</guid> <description>Philippe,
I&#039;ve updated the post. And yes, it works with hdd info using a USB drive directly connected to system or via docking station.
HTH</description> <content:encoded><![CDATA[<p>Philippe,</p><p>I&#8217;ve updated the post. And yes, it works with hdd info using a USB drive directly connected to system or via docking station.</p><p>HTH</p> ]]></content:encoded> </item> <item><title>By: Vivek Gite</title><link>http://www.cyberciti.biz/tips/howto-monitor-hard-drive-temperature.html#comment-157480</link> <dc:creator>Vivek Gite</dc:creator> <pubDate>Wed, 07 Jul 2010 20:40:51 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/howto-monitor-hard-drive-temperature.html#comment-157480</guid> <description>Yes, it works with laptop docking station connected via USB.
&lt;pre&gt;hddtemp sata:/dev/sdc&lt;/pre&gt;</description> <content:encoded><![CDATA[<p>Yes, it works with laptop docking station connected via USB.</p><pre>hddtemp sata:/dev/sdc</pre>]]></content:encoded> </item> <item><title>By: Philippe Petrinko</title><link>http://www.cyberciti.biz/tips/howto-monitor-hard-drive-temperature.html#comment-157453</link> <dc:creator>Philippe Petrinko</dc:creator> <pubDate>Wed, 07 Jul 2010 12:57:35 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/howto-monitor-hard-drive-temperature.html#comment-157453</guid> <description>Hi Vivek,
SteveH is right there is a typo (should be the same device ! sda )
And Andrey ask a useful question: Is it possible to get any SMART HDD info using a HDD-USB drive ?
TIA!</description> <content:encoded><![CDATA[<p>Hi Vivek,</p><p>SteveH is right there is a typo (should be the same device ! sda )</p><p>And Andrey ask a useful question: Is it possible to get any SMART HDD info using a HDD-USB drive ?</p><p>TIA!</p> ]]></content:encoded> </item> <item><title>By: Andrey</title><link>http://www.cyberciti.biz/tips/howto-monitor-hard-drive-temperature.html#comment-154575</link> <dc:creator>Andrey</dc:creator> <pubDate>Sun, 28 Mar 2010 07:09:18 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/howto-monitor-hard-drive-temperature.html#comment-154575</guid> <description>Hi!
Thanks for your blog!
Tell me please, will it work for me if I use the SATA Docking Station, so the hard drive is connected to my computer via usb?
What am I supposed to do?</description> <content:encoded><![CDATA[<p>Hi!<br
/> Thanks for your blog!<br
/> Tell me please, will it work for me if I use the SATA Docking Station, so the hard drive is connected to my computer via usb?<br
/> What am I supposed to do?</p> ]]></content:encoded> </item> <item><title>By: steveh</title><link>http://www.cyberciti.biz/tips/howto-monitor-hard-drive-temperature.html#comment-149634</link> <dc:creator>steveh</dc:creator> <pubDate>Wed, 22 Jul 2009 13:15:10 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/howto-monitor-hard-drive-temperature.html#comment-149634</guid> <description>&lt;cite&gt;To see temperature for /dev/sda, enter the following command:
# hddtemp /dev/sda
Output:
/dev/sdb: WDC WD2500YS-01SHB1:  25°C&lt;/cite&gt;
The output should also be /dev/sda not sdb.</description> <content:encoded><![CDATA[<p><cite>To see temperature for /dev/sda, enter the following command:<br
/> # hddtemp /dev/sda<br
/> Output:</p><p>/dev/sdb: WDC WD2500YS-01SHB1:  25°C</cite></p><p>The output should also be /dev/sda not sdb.</p> ]]></content:encoded> </item> <item><title>By: JAY</title><link>http://www.cyberciti.biz/tips/howto-monitor-hard-drive-temperature.html#comment-148773</link> <dc:creator>JAY</dc:creator> <pubDate>Sun, 31 May 2009 22:24:21 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/howto-monitor-hard-drive-temperature.html#comment-148773</guid> <description>&lt;pre&gt;WARN_LEVEL=40
ALERT_LEVEL=63
for disk in $HDDS
do
if [ -b $disk ]; then
HDTEMP=$($HDT $disk)
if [ $HDTEMP -ge $ALERT_LEVEL ]; then
date &gt;&gt; ~/Desktop/ERRORS.TXT
echo &quot;System going down as hard disk : $disk temperature is $HDTEMP°C&quot; &gt;&gt; ~/Desktop/ERRORS.TXT
sync;sync
$DOWN -h 0
else
echo $disk - $HDTEMP
fi
if [ $HDTEMP -ge $WARN_LEVEL ]; then
date &gt;&gt; ~/Desktop/ERRORS.TXT
echo &quot;hard disk : $disk temperature is $HDTEMP°C&quot; &gt;&gt; ~/Desktop/ERRORS.TXT
/usr/bin/notify-send -u critical -c device.error -i /usr/share/icons/Human/32x32/status/dialog-warning.png -t 900 &quot;HDD TEMP&quot; &quot;$disk temperature $HDTEMP°C&quot;
zenity --info --text &quot;hard disk : $disk temperature $HDTEMP°C&quot;
sync;sync
fi
fi
done
exit 0&lt;/pre&gt;</description> <content:encoded><![CDATA[<pre>WARN_LEVEL=40
ALERT_LEVEL=63
for disk in $HDDS
do
  if [ -b $disk ]; then
	HDTEMP=$($HDT $disk)
        if [ $HDTEMP -ge $ALERT_LEVEL ]; then
		date &gt;&gt; ~/Desktop/ERRORS.TXT
           	echo "System going down as hard disk : $disk temperature is $HDTEMP°C" &gt;&gt; ~/Desktop/ERRORS.TXT
           sync;sync
		$DOWN -h 0
	else
		echo $disk - $HDTEMP
        fi
	if [ $HDTEMP -ge $WARN_LEVEL ]; then
		date &gt;&gt; ~/Desktop/ERRORS.TXT
           	echo "hard disk : $disk temperature is $HDTEMP°C" &gt;&gt; ~/Desktop/ERRORS.TXT
		/usr/bin/notify-send -u critical -c device.error -i /usr/share/icons/Human/32x32/status/dialog-warning.png -t 900 "HDD TEMP" "$disk temperature $HDTEMP°C"
		zenity --info --text "hard disk : $disk temperature $HDTEMP°C"
           sync;sync
        fi
  fi
done
exit 0</pre>]]></content:encoded> </item> <item><title>By: JAY</title><link>http://www.cyberciti.biz/tips/howto-monitor-hard-drive-temperature.html#comment-148772</link> <dc:creator>JAY</dc:creator> <pubDate>Sun, 31 May 2009 22:21:22 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/howto-monitor-hard-drive-temperature.html#comment-148772</guid> <description>HDT=&quot;/usr/sbin/hddtemp -n&quot;</description> <content:encoded><![CDATA[<p>HDT=&#8221;/usr/sbin/hddtemp -n&#8221;</p> ]]></content:encoded> </item> <item><title>By: Brian</title><link>http://www.cyberciti.biz/tips/howto-monitor-hard-drive-temperature.html#comment-147236</link> <dc:creator>Brian</dc:creator> <pubDate>Sun, 15 Feb 2009 09:13:16 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/howto-monitor-hard-drive-temperature.html#comment-147236</guid> <description>Thank you, just what i need fore my server in my closet :)
But i think i will make it beep fist and if the temperature raises further then shutdown.</description> <content:encoded><![CDATA[<p>Thank you, just what i need fore my server in my closet :)</p><p>But i think i will make it beep fist and if the temperature raises further then shutdown.</p> ]]></content:encoded> </item> <item><title>By: andrew</title><link>http://www.cyberciti.biz/tips/howto-monitor-hard-drive-temperature.html#comment-145591</link> <dc:creator>andrew</dc:creator> <pubDate>Sat, 15 Nov 2008 21:47:02 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/howto-monitor-hard-drive-temperature.html#comment-145591</guid> <description>My Drive is named: SAMSUNG HD400LJ
and behaves normally, 194 is allright :)
Thanks for this great software!</description> <content:encoded><![CDATA[<p>My Drive is named: SAMSUNG HD400LJ<br
/> and behaves normally, 194 is allright :)<br
/> Thanks for this great software!</p> ]]></content:encoded> </item> <item><title>By: Erwin Kooi</title><link>http://www.cyberciti.biz/tips/howto-monitor-hard-drive-temperature.html#comment-144925</link> <dc:creator>Erwin Kooi</dc:creator> <pubDate>Thu, 11 Sep 2008 08:13:45 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/howto-monitor-hard-drive-temperature.html#comment-144925</guid> <description>This is my cron script using the --numeric arg:
&lt;code&gt;
#!/bin/bash
HDDS=&quot;/dev/hdc&quot;
HDT=/usr/sbin/hddtemp
LOG=/usr/bin/logger
DOWN=/sbin/shutdown
ALERT_LEVEL=55
args=&quot;--numeric&quot;
for disk in $HDDS
do
if [ -b $disk ]; then
HDTEMP=$($HDT $disk $args)
$LOG &quot;HDTEMP for $disk is $HDTEMP&quot;
if [ $HDTEMP -ge $ALERT_LEVEL ]; then
$LOG &quot;System going down as hard disk : $disk temperature $HDTEMP exceeded its limit&quot;
sync;sync
$DOWN -h 0
fi
fi
done
&lt;/code&gt;</description> <content:encoded><![CDATA[<p>This is my cron script using the &#8211;numeric arg:<br
/> <code><br
/> #!/bin/bash<br
/> HDDS="/dev/hdc"<br
/> HDT=/usr/sbin/hddtemp<br
/> LOG=/usr/bin/logger<br
/> DOWN=/sbin/shutdown<br
/> ALERT_LEVEL=55<br
/> args="--numeric"<br
/> for disk in $HDDS<br
/> do<br
/> if [ -b $disk ]; then<br
/> HDTEMP=$($HDT $disk $args)<br
/> $LOG "HDTEMP for $disk is $HDTEMP"<br
/> if [ $HDTEMP -ge $ALERT_LEVEL ]; then<br
/> $LOG "System going down as hard disk : $disk temperature $HDTEMP exceeded its limit"<br
/> sync;sync<br
/> $DOWN -h 0<br
/> fi<br
/> fi<br
/> done<br
/> </code></p> ]]></content:encoded> </item> <item><title>By: Erwin</title><link>http://www.cyberciti.biz/tips/howto-monitor-hard-drive-temperature.html#comment-144924</link> <dc:creator>Erwin</dc:creator> <pubDate>Thu, 11 Sep 2008 08:06:50 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/howto-monitor-hard-drive-temperature.html#comment-144924</guid> <description>Check &lt;code&gt;hddtemp-0.3-beta15/src/hddtemp.c&lt;/code&gt;
on line 227, the hddtemp tool can also print out just  the temperature value. No need to parse the output and fetch the value from a formatted string.
Just issue this command:
&lt;code&gt;
/usr/local/sbin/hddtemp /dev/hdc --numeric
&lt;/code&gt;</description> <content:encoded><![CDATA[<p>Check <code>hddtemp-0.3-beta15/src/hddtemp.c</code><br
/> on line 227, the hddtemp tool can also print out just  the temperature value. No need to parse the output and fetch the value from a formatted string.<br
/> Just issue this command:<br
/> <code><br
/> /usr/local/sbin/hddtemp /dev/hdc --numeric<br
/> </code></p> ]]></content:encoded> </item> <item><title>By: pete</title><link>http://www.cyberciti.biz/tips/howto-monitor-hard-drive-temperature.html#comment-142404</link> <dc:creator>pete</dc:creator> <pubDate>Wed, 09 Jan 2008 09:30:30 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/howto-monitor-hard-drive-temperature.html#comment-142404</guid> <description>this program has an error with my version of hddtemp.
$4 should read $3
‘ should read &#039;
so the line should be:
HDTEMP=$($HDT $disk &#124; awk &#039;{ print $3}&#039;  &#124; awk -F &#039;°&#039; &#039;{ print $1}&#039;)
additionally, if a shutdown is to occur, and there is more than one hard drive, the shutdown command will be executed for the number of hard drives that exceed the temperature.  i am a linux newbie and don&#039;t know if this is relevant.
P.</description> <content:encoded><![CDATA[<p>this program has an error with my version of hddtemp.<br
/> $4 should read $3<br
/> ‘ should read &#8216;<br
/> so the line should be:<br
/> HDTEMP=$($HDT $disk | awk &#8216;{ print $3}&#8217;  | awk -F &#8216;°&#8217; &#8216;{ print $1}&#8217;)</p><p>additionally, if a shutdown is to occur, and there is more than one hard drive, the shutdown command will be executed for the number of hard drives that exceed the temperature.  i am a linux newbie and don&#8217;t know if this is relevant.<br
/> P.</p> ]]></content:encoded> </item> <item><title>By: Pragadeshv</title><link>http://www.cyberciti.biz/tips/howto-monitor-hard-drive-temperature.html#comment-141910</link> <dc:creator>Pragadeshv</dc:creator> <pubDate>Tue, 20 Nov 2007 13:41:18 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/howto-monitor-hard-drive-temperature.html#comment-141910</guid> <description>Its Really use full for me. Thanks vivek.</description> <content:encoded><![CDATA[<p>Its Really use full for me. Thanks vivek.</p> ]]></content:encoded> </item> <item><title>By: vivek</title><link>http://www.cyberciti.biz/tips/howto-monitor-hard-drive-temperature.html#comment-141393</link> <dc:creator>vivek</dc:creator> <pubDate>Sat, 13 Oct 2007 13:03:01 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/howto-monitor-hard-drive-temperature.html#comment-141393</guid> <description>Thanks for the feedback! You made my day :D</description> <content:encoded><![CDATA[<p>Thanks for the feedback! You made my day :D</p> ]]></content:encoded> </item> </channel> </rss>
