mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-07 23:57:24 +00:00
Update cheatsheets
This commit is contained in:
41
tldr/linux/hddtemp
Normal file
41
tldr/linux/hddtemp
Normal file
@@ -0,0 +1,41 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# hddtemp
|
||||
|
||||
> Display temperature of HDD via S.M.A.R.T.
|
||||
> More information: <https://manned.org/hddtemp>.
|
||||
|
||||
- Display temperature of a specific drive:
|
||||
|
||||
`hddtemp {{type}}:{{/dev/sdX}}`
|
||||
|
||||
- Display temperature of a SATA drive assigned to `sda`:
|
||||
|
||||
`hddtemp SATA:/dev/sda`
|
||||
|
||||
- Log temperatures to syslog every `n` seconds:
|
||||
|
||||
`hddtemp {{[-S|--syslog]}} {{nseconds}} {{type}}:{{/dev/sdX}}`
|
||||
|
||||
- Print only numeric value of temperature without unit:
|
||||
|
||||
`hddtemp {{[-n|--numeric]}} {{type}}:{{/dev/sdX}}`
|
||||
|
||||
- Define the unit used to denote temperature:
|
||||
|
||||
`hddtemp {{[-u|--unit]}} {{C|F}} {{type}}:{{/dev/sdX}}`
|
||||
|
||||
- Wake ATA drive before attempting to read temperature:
|
||||
|
||||
`hddtemp {{[-w|--wake-up]}} {{type}}:{{/dev/sdX}}`
|
||||
|
||||
- Enter debug mode to show S.M.A.R.T. fields and their values:
|
||||
|
||||
`hddtemp {{[-D|--debug]}} {{type}}:{{/dev/sdX}}`
|
||||
|
||||
- Suppress compatibility check for drive types:
|
||||
|
||||
`hddtemp {{[-q|--quiet]}} {{type}}:{{/dev/sdX}}`
|
||||
Reference in New Issue
Block a user