To check SSD health, need to install smartertools

At Ubuntu or similar Distro (CentOS please use yum)

#apt-get install smartmontools

Check the Media_Wearout_Indicator

# smartctl -a /dev/sda | grep Media_Wearout_Indicator

To show SSD information

 smartctl -a /dev/sda