mirror of
https://github.com/chubin/cheat.sheets
synced 2024-11-19 03:25:44 +00:00
0adbf03348
* sheets/MegaCli * sheets/az * sheets/azure * sheets/blktrace * sheets/emacs * sheets/exim * sheets/go * sheets/ipython * sheets/jq * sheets/nmap * sheets/perl * sheets/psql * sheets/redis * sheets/sed * sheets/smartctl * sheets/solidity * sheets/yq_v4
18 lines
388 B
Plaintext
18 lines
388 B
Plaintext
# 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: type of drive, serial number, etc.
|
|
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
|