Advertisement
Guest User

For u/NullJupiter

a guest
Nov 1st, 2022
675
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.40 KB | None | 0 0
  1. # -H:   Monitor SMART Health Status, report if failed
  2. # -f:   Monitor for failure of any 'Usage' Attributes
  3. # -u:   Report changes in 'Usage' Normalized Attributes
  4. # -p:   Report changes in 'Prefailure' Normalized Attributes
  5. # -l:   Monitor SMART log.  Type is one of: error, selftest
  6. # -n POWERMODE: check the device unless it is in SLEEP or STANDBY mode
  7. # -n N: After N checks are skipped in a row, powermode is ignored and the check is performed anyway
  8. # -n q: When a periodic test is skipped, smartd normally writes an informal log message. The message can be suppressed by appending the option ',q'
  9. # -o:   Enable/disable automatic offline tests (on/off)
  10. # -S:   Enable/disable attribute autosave (on/off)
  11. # -s:   start a short self-test every day between 2-3am, and a long self test Wednesdays between 3-4am
  12. # -I 194:  ignore normalized temperature
  13. # -W:  track Temperature changes >= 5 Celsius, report Temperatures >= 45 Celsius
  14. # -i 9: Ignore device Attribute number ID when checking for failure of Usage Attributes (9: hours-pn-lifetime attribute)
  15. # -R 5: Report changes in Raw value of Reallocated_Sector_Ct (5)
  16. # -C 197: Report if Current Pending Sector count non-zero
  17. # -U 198: Report if Offline Uncorrectable count non-zero
  18.  
  19. DEVICESCAN -H -f -u -p -l error -l selftest -n standby,24,q \
  20. -I 194 \
  21. -I 190 \
  22. -W 5,45,50 \
  23. -i 9 \
  24. -R 5 \
  25. -C 197 \
  26. -U 198 \
  27. -o on -S on -s (L/../../3/04|S/../.././03)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement