Thursday, October 15, 2009

Run hddtemp as user

If you want to get temperature of your hard drive, you can simply run

# hddtemp /dev/sda

This method has one disadvantage - hddtemp must be executed as root, otherwise you will get

/dev/sda: open: Permission denied

But there is a quick solution to run hddtemp as a normal user. Most Linux distributions have hddtemp daemon. After you run it you should be able to use just telnet or netcat as a normal use to get your hard drive temperature:

~ telnet localhost 7634

0 Comments:

Post a Comment