There is a good article on Gizmodo “4 Ways to Help Your Laptop Enjoy a Longer Life”. It recommends DriveDx as a good tool to “keep an eye on your hard drive’s health (including current running temperatures) and alert you to any potential problems before they get serious”.
Here is the good example story of how DriveDx could help: “ Now I just recently experienced a different kind of drive failure. My drive did not crash or get corrupted. It simply stopped working efficiently. On my MacPro desktop I was experiencing major performance slowness. I had rebuilt the OS once or twice. Now