SMART(8)                                                 SMART(8)

     NAME
          disk/smart, hdtemp - hard drive error monitoring

     SYNOPSIS
          disk/smart [ -aptv ] drive...
          hdtemp drive...

     DESCRIPTION
          The disk/smart command uses the sd(3) raw interface for con-
          tinuous disk health logging to /sys/log/smart and, with the
          -v flag, the console for ATA and SCSI disks supporting
          SMART-style reporting.  The -t flag causes disk/smart to
          exit after a single probe and implies -v.  With the -p flag
          or no arguments, disk/smart probes for all SMART-capable
          drives.  With -a SMART-capable drives are announced.  Log-
          ging behaves as if level triggered.  If a smart condition is
          set it will be logged every 6 hours.  Condition reset also
          resets the log timer.

          Hdtemp prints the current drive temperature in Celsius if
          the drive and transport support it.

     FILES
          /lib/scsicodes, /dev/sdXX/raw

     SEE ALSO
          atazz(8), scuzz(8), sd(3).

     SOURCE
          /sys/src/cmd/disk/smart

     BUGS
          Past failures are no indication of future performance.

     Page 1                       Plan 9            (printed 11/18/24)