Aka. ”Suddenly I had changed simple parser to a code mess and even the language chosen isn't fit for the task.”
- Install libatasmart.
- Assume alpha quality.
chmod +x atasmart-tool.awk
./atasmart-tool.awk --help
The total percentage of process is calculated in such way that bigger capacity disks have more weight to the total % of the process. So that's why the numbers may seem incorrect.
- Why?
- ... also some shell laguage would have been better fit for the task, but I had an urge to code awk. Sorry.
- I have some hopes someone will implement something like this, but in C, Python or (ba)sh.
- Gather more information at the start and end of test(s) and warn user if something alarming is found. - Almost done.
- Report changes in smart data via internal function instead of using
diff
in a form of "Value X has changed from Y to Z".
GPL-3