Installation:
Opensuse - Go to yast >> Software management and search for "hddtemp", select the package and accept and install it.
Others:
You can also perform source code installation. Download source code here.
Copy the tarball into the /usr/src/ directory on your linux box. From a command prompt, change into the /usr/src/ directory, and un-tar the tarball:
cd /usr/srcChange into the newly created directory:
bunzip2 hddtemp-0.3-beta15.tar.bz2
tar xvf hddtemp-0.3-beta15.tar
cd hddtemp-0.3-beta14Compile and install hddtemp:
./configure --with-db-path=/etc/hddtemp.db
make
make install
Getting Data
The next task is to verify that hddtemp can retrieve the temperature from your hard drives.
Test hddtemp by running the following (replacing /dev/sda with a valid hard drive in your linux box):
# hddtemp /dev/sdaand see if a temperature is reported.
/dev/sda: ST3802110A: 46°C
If you have more than one hard drive in your linux box, repeat this for each additional physical hard drive, to determine which ones hddtemp can obtain a temperature reading.
0 comments:
Post a Comment