NavigationUser loginSpam?See spam posts on this site? If so, please don't reply to the spam! Instead, just report the URL to the webmaster. Cost of War |
How to: Monitor hard disks temperature with hddtemp under LinuxThe problem of cooling the computer is not new. The more powerful and faster computers become, the "hotter" they get. Coolers inside computer cases, video card and power supply units are quite common nowadays. However, hard disk has no additional means to cool them. Most hard disk manufacture recommends 35-40°C working temperature for a hard drive. Once it crossed the limit safety of your data and hard disk becomes critical. Computer hard drive is the main storage media for your data. This article explains how to monitor hard disk temperature and prevent the loss of data under Linux using automated scripts. |
hddtemp as non-root and with sensors-applet
Question: how do I get it to show up in sensors-applet? That applet is supposed to be able to use hddtemp, and it's installed, but not working.
Furthermore, how do I use hddtemp as a non-root user? I'm a member of group disk, and /dev/hda is:
brw-rw---- 1 root disk
But hddtemp shows:
/dev/sda: Permission denied
Thanks.
GPG fingerprint: D54D 1AEE B11C CE9B A02B C5DD 526F 01E8 564E E4B6
Re: hddtemp as non-root and with sensors-applet
Configure sudo to run it as root user.
# Allows members of the users group to# mount and unmount the cdrom as root
#
# %users ALL=/sbin/mount /mnt/cdrom, /sbin/umount /mnt/cdrom, /usr/sbin/hddtemp /dev/xyz
Now anyone in users group can run it
/usr/sbin/hddtemp /dev/xyz