mirror of
https://github.com/chubin/cheat.sheets
synced 2024-11-15 06:12:59 +00:00
added smartctl
This commit is contained in:
parent
92b26a0e10
commit
2e7f6cefff
17
sheets/smartctl
Normal file
17
sheets/smartctl
Normal file
@ -0,0 +1,17 @@
|
||||
# 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
|
Loading…
Reference in New Issue
Block a user