Difference between revisions of "Hddtemp"

From ArchWiki
Jump to: navigation, search
m (Usage: netcat > nc)
m (cleanup of lede, moved daemon stuff to a daemon section)
Line 2: Line 2:
 
[[Category:Daemons and system services (English)]]
 
[[Category:Daemons and system services (English)]]
 
[[Category:HOWTOs (English)]]
 
[[Category:HOWTOs (English)]]
'''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.
+
'''Hddtemp''' is a utlity that reports hard disk temperature. It comes with a lightweight daemon to provide the information of a local port.
  
 
==Installation==
 
==Installation==
Line 9: Line 9:
 
  # pacman -S hddtemp
 
  # pacman -S hddtemp
  
 +
==Daemon==
 +
===Setup===
 
Start the daemon:
 
Start the daemon:
 
  # /etc/rc.d/hddtemp start
 
  # /etc/rc.d/hddtemp start
Line 15: Line 17:
 
  # DAEMONS=(coretemp it87 ... '''hddtemp''' ...)
 
  # DAEMONS=(coretemp it87 ... '''hddtemp''' ...)
  
==Usage==
+
===Usage===
 
+
 
Hddtemp can be invoked with the drive as the argument:
 
Hddtemp can be invoked with the drive as the argument:
 
  # hddtemp /dev/sd[x]
 
  # hddtemp /dev/sd[x]

Revision as of 19:42, 16 August 2010

Hddtemp is a utlity that reports hard disk temperature. It comes with a lightweight daemon to provide the information of a local port.

Installation

Sync and install with pacman:

# pacman -S hddtemp

Daemon

Setup

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 ...)

Usage

Hddtemp can be invoked with the drive as the argument:

# hddtemp /dev/sd[x]

Where x is the drive.

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

# telnet localhost 7634

Or with netcat:

# nc localhost 7634

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

# man hddtemp

Monitors

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