If you are using a SSD (solid-state drive) for your Ubuntu machine and it is starting to get wonky, here is one way to check the health of SSD and see whether it is time to change a new one.
1. In Ubuntu, open the “Disks” application. On the left pane, select the primary hard drive.
2. On the right, click the “Cogs” icon and select “SMART Data and Tests…”.
3. From the window that pop up, you will be able to see the status of your SSD.
Note: In most cases, it will notify you when it detects issue with the SSD, so you don’t have to check it very frequently.
Image credit: HDD vs. SSD Test