LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

hddtemp

displays the temperature of hard disk drives via S

TLDR

Display temperature of a SATA drive
$ hddtemp SATA:/dev/sda
copy
Display in Fahrenheit
$ hddtemp -u F SATA:/dev/sda
copy
Display numeric value only
$ hddtemp -n SATA:/dev/sda
copy
Log to syslog every N seconds
$ hddtemp -S 60 SATA:/dev/sda
copy
Wake drive before reading temperature
$ hddtemp -w SATA:/dev/sda
copy
Run in daemon mode
$ hddtemp -d SATA:/dev/sda
copy
Show debug information
$ hddtemp -D SATA:/dev/sda
copy

SYNOPSIS

hddtemp [options] [type]:device

DESCRIPTION

hddtemp displays the temperature of hard disk drives via S.M.A.R.T. (Self-Monitoring, Analysis and Reporting Technology). It can show temperature for SATA, PATA, and SCSI drives that support S.M.A.R.T.

PARAMETERS

-n, --numeric

Print only the numeric temperature value without units
-u, --unit=UNIT
Set temperature unit (C for Celsius, F for Fahrenheit)
-S, --syslog=SECONDS
Log temperatures to syslog every N seconds
-d, --daemon
Run as daemon (TCP/IP server mode)
-l, --listen=ADDR
Listen on specified address in daemon mode
-p, --port=PORT
Listen on specified port in daemon mode (default: 7634)
-w, --wake-up
Wake up the drive before reading temperature
-q, --quiet
Suppress drive type compatibility warnings
-D, --debug
Show S.M.A.R.T. fields and their values
-f, --file=FILE
Use specified drive database file

INSTALL

sudo dnf install hddtemp
copy
sudo pacman -S hddtemp
copy
nix profile install nixpkgs#hddtemp
copy

CAVEATS

Requires root privileges to access drive S.M.A.R.T. data. The drive type prefix (SATA, PATA, SCSI) is required for proper operation. Not all drives support temperature monitoring through S.M.A.R.T.

HISTORY

hddtemp was developed to provide simple temperature monitoring for hard drives using S.M.A.R.T. data, commonly used for system health monitoring.

SEE ALSO

smartctl(8), sensors(1)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid