09-03-2019, 10:10 PM
Ok, thanks. I haven't asked the developers.
However, following the links provided by trinidad, I found that the command to use is
sudo smartctl -x /dev/sda
To get the output of the attributes only, I figured to use grep:
sudo smartctl -x /dev/sda | grep ATTRIBUTE_NAME -A19
But - if this particular disk makes smartctl output 19 attributes, another disk model may have more.
The first line after the attributes always contains the phrase "auto-keep" I wonder ig there is possible to make grep take account for that so the command isn't all static.
To solve that, solution may be stupidly complex or need a bash file. But if anyone know about a nice solution I'm eager to learn.
However, following the links provided by trinidad, I found that the command to use is
sudo smartctl -x /dev/sda
To get the output of the attributes only, I figured to use grep:
sudo smartctl -x /dev/sda | grep ATTRIBUTE_NAME -A19
But - if this particular disk makes smartctl output 19 attributes, another disk model may have more.
The first line after the attributes always contains the phrase "auto-keep" I wonder ig there is possible to make grep take account for that so the command isn't all static.
To solve that, solution may be stupidly complex or need a bash file. But if anyone know about a nice solution I'm eager to learn.
I won't let an old, but fully functional computer die just because some company tell me that they won't make no more security updates to their OS. Thanks Linux
