5 ms·
Just FYI for anyone for whom this didn't work by default: I needed to use the --all flag with smartctl (and install smartmontools if you don't have it).
by wutbrodo 4y ago
Just FYI for anyone for whom this didn't work by default: I needed to use the --all flag with smartctl (and install smartmontools if you don't have it).
- lucb1e 4y agoThe -a flag from my example should be an alias for --all (man smartctl | grep -A1 ' -a' | head -2). Is that not the case in your version?
- wutbrodo 4y agoDerp you are correct, sorry. Hopefully my comment is still useful for anyone who didn't know they needed smartmontools
- climb_stealth 4y agoPro tip: when writing out commands for people to read it helps to use the long form arguments. In this case passing '--all' instead of '-a' to smartctl. It makes it easier to read and more clear what specific options do. Same with calling things in scripts. Short form is for quick and dirty typing things, but not great for reading or comprehension :)
- lucb1e 4y agoFair point, yes, I should have done that!