Difference between revisions of "Hddtemp"

From ArchWiki
Jump to: navigation, search
Line 27: Line 27:
  # telnet localhost 7634
  # telnet localhost 7634
or with [[netcat]]:
Or with [[netcat]]:
  # netcat localhost 7634
  # netcat localhost 7634

Revision as of 04:25, 17 June 2010


Hddtemp is a daemon that monitors and reports hard disk temperature. It is a lightweight daemon and is useful for retrieving temperature readings for hard disks that have temperature sensors built into them.


Sync and install with pacman:

# pacman -S hddtemp

Start the daemon:

# /etc/rc.d/hddtemp start

Add the daemon to the DAEMONS array in /etc/rc.conf to facilitate auto-start on boot:

# DAEMONS=(coretemp it87 ... hddtemp ...)


Hddtemp can be invoked with the drive as the argument:

# hddtemp /dev/sd[x]

Where x is the drive.

Another way to get the reading is by connecting to the daemon which is listening on port 7634.

# telnet localhost 7634

Or with netcat:

# netcat localhost 7634

For other information like hard drives supported e.t.c. refer to the manpage:

# man hddtemp


Hddtemp can be easily integrated with system monitors like Conky or the GNOME sensors applet.