2
0
mirror of https://github.com/chubin/cheat.sheets synced 2024-11-17 09:25:32 +00:00
cheat.sheets/sheets/smartctl

18 lines
409 B
Plaintext
Raw Normal View History

2017-07-17 21:19:15 +00:00
# smartctl
# get SMART status information on your hard drives
# Quickly check the overall health of a drive
smartctl -H /dev/sda
# Obtain information on the drive: view the type of drive, its serial number, and so forth
smartctl -i /dev/sda
# initiate short tests for the drive
smartctl --test=short /dev/sda
# initiate long tests for the drive
smartctl --test=long /dev/sda
# abort the test
smartctl -X