Options (6)
-S, --syslogbooleanLog temperatures to syslog every `n` seconds
Example:
hddtemp {{[-S|--syslog]}} {{nseconds}} {{type}}:{{/dev/sdX}}-n, --numericbooleanPrint only numeric value of temperature without unit
Example:
hddtemp {{[-n|--numeric]}} {{type}}:{{/dev/sdX}}-u, --unitbooleanDefine the unit used to denote temperature
Example:
hddtemp {{[-u|--unit]}} {{C|F}} {{type}}:{{/dev/sdX}}-w, --wake-upbooleanWake ATA drive before attempting to read temperature
Example:
hddtemp {{[-w|--wake-up]}} {{type}}:{{/dev/sdX}}-D, --debugbooleanEnter debug mode to show S.M.A.R.T. fields and their values
Example:
hddtemp {{[-D|--debug]}} {{type}}:{{/dev/sdX}}-q, --quietbooleanSuppress compatibility check for drive types
Example:
hddtemp {{[-q|--quiet]}} {{type}}:{{/dev/sdX}}Examples (8)
Display temperature of a specific drive
hddtemp type:/dev/sdXDisplay temperature of a SATA drive assigned to `sda`
hddtemp SATA:/dev/sdaLog temperatures to syslog every `n` seconds
hddtemp [-S|--syslog] nseconds type:/dev/sdXPrint only numeric value of temperature without unit
hddtemp [-n|--numeric] type:/dev/sdXDefine the unit used to denote temperature
hddtemp [-u|--unit] C|F type:/dev/sdXWake ATA drive before attempting to read temperature
hddtemp [-w|--wake-up] type:/dev/sdXEnter debug mode to show S.M.A.R.T. fields and their values
hddtemp [-D|--debug] type:/dev/sdXSuppress compatibility check for drive types
hddtemp [-q|--quiet] type:/dev/sdXmade by @shridhargupta | data from tldr-pages