Difference between revisions of "Hddtemp"

From ArchWiki
Jump to: navigation, search
m (oops, moved cli utility stuff out of daemon section)
m (Usage: no need to run this stuff as root)
Line 27: Line 27:
 
Another way to get the temperature is by connecting to the daemon which is listening on port 7634.
 
Another way to get the temperature is by connecting to the daemon which is listening on port 7634.
  
  # telnet localhost 7634
+
  $ telnet localhost 7634
 
Or with netcat:
 
Or with netcat:
  # nc localhost 7634
+
  $ nc localhost 7634
  
 
For other information like hard drives supported, logging e.t.c. refer to the manpage:
 
For other information like hard drives supported, logging e.t.c. refer to the manpage:
  # man hddtemp
+
  $ man hddtemp
  
 
==Monitors==
 
==Monitors==
  
 
Hddtemp can be easily integrated with system monitors like [[Conky]] or the GNOME sensors applet.
 
Hddtemp can be easily integrated with system monitors like [[Conky]] or the GNOME sensors applet.

Revision as of 19:44, 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

Usage

Hddtemp can be invoked with the drive as the argument:

# hddtemp /dev/sd[x]

Where x is the drive.

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

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.