Skip to content
/ hddtemp Public
forked from guzu/hddtemp

Hard disk temperature tool (new hddtemp upstream)

License

Unknown, Unknown licenses found

Licenses found

Unknown
LICENSE
Unknown
COPYING
Notifications You must be signed in to change notification settings

vitlav/hddtemp

 
 

Repository files navigation

DESCRIPTION
===========
hddtemp will show you the hard drive temperature if the hard drive can.

Since upstream doesn't handle patches, we will process pull requests here.

INCORPORATED PATCHES
====================
 * implement drives auto-detection
 * use minimal database for drives not covered by defaults
       * first try S.M.A.R.T. attribute 194, otherwise try attribute 190
 * add support for NVME bus
 * added ata-model patch (model is limited to 40 chars, so don't display junk after it)
 * allow binding to a listen address that doesn't exist yet
 * add -F --foreground option:  don't daemonize, stay in foreground
 

COPYRIGHT
=========
This software is distributed under the GPL license.
Please see COPYING file.


INSTALLATION
============
Run ./configure (see --help for options), then just type 'make'.

Latests hddtemp.db is located in the data dir.

By default, the hddtemp.db will we searched in /usr/share/misc directory but
you can change this at compilation time with the --with-db-path option:

$ ./configure --with-db-path=/etc/hddtemp.db



INFORMATION
===========
hddtemp accesses to the SATA disks via ATA pass-through commands (defined in 
T10/04-262r7). Only kernel >= 2.6.16 have this support.

In daemon mode, hddtemp doesn't allow too much query at a time. If the interval
between two query is inferior to 1 minute, hddtemp will give the previous value
(hddtemp query the disk for each connection, if the period is superior to 1
minute).
After starting hddtemp in daemon mode, you can test it with a simple telnet
or netcat:

$ telnet localhost 7634
or
$ netcat localhost 7634

(note: sometimes the netcat command is called nc).

If you know that your drive has a temperature sensor and is reported to be
unsupported tell me which model and which manufacturer it is, and/or just
add a new entry in hddtemp.db. Each line of hddtemp.db is either a commentary,
a blank line or a line containing:
 - a regular expression that allow hddtemp to recognize a drive or a set of drives
   from its model name or from a generic model name,
 - a value (ATTRIBUTE_ID from S.M.A.R.T.),
 - a description.

The separator option allows to specify a separator in the case the drive's name
contains the default separator. Be carefull not to use '?' or '*' which could
exists in the reply of hddtemp.

CONTACT
=======

New contact:
Vitaly Lipatov <[email protected]>

Original author of the project:
Emmanuel Varagnat: [email protected]

http://www.guzu.net

About

Hard disk temperature tool (new hddtemp upstream)

Topics

Resources

License

Unknown, Unknown licenses found

Licenses found

Unknown
LICENSE
Unknown
COPYING

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 76.2%
  • Shell 19.5%
  • M4 2.1%
  • Perl 1.1%
  • Other 1.1%