Skip to content

hdd_reader#

Name#

hdd_reader - Read S.M.A.R.T. information for monitoring HDD temperature

Synopsis#

hdd_reader [OPTION]

Description#

Read S.M.A.R.T. information for monitoring HDD temperature.
This runs as a daemon process and listens to a TCP/IP port (7635 by default).

Options:
-h, --help
    Display help
-p, --port #
    Port number to listen to

Exit status:
Returns 0 if OK; non-zero otherwise.

Notes#

The 'hdd_reader' accesses minimal data enough to get Model number, Serial number, and HDD temperature.
This is an approach to limit its functionality, however, the functionality can be expanded for further improvements and considerations in the future.

[ATA]

Purpose Name Length
Model number, Serial number IDENTIFY DEVICE data 256 words(512 bytes)
HDD temperature SMART READ DATA 256 words(512 bytes)

For details please see the documents below.

[NVMe]

Purpose Name Length
Model number, Serial number Identify Controller data structure 4096 bytes
HDD temperature SMART / Health Information 1 Dword(4 bytes)

For details please see the documents below.

Operation confirmed drives#

  • SAMSUNG MZVLB1T0HALR (SSD)
  • Western Digital My Passport (Portable HDD)