View how much data have been written on the SSD

To view the total amount of data written on an SSD over its life time run the following command on the terminal

sudo smartctl -A /dev/sda | awk '/^241/ { print "TBW: "($10 * 512) * 1.0e-12, "TB" } '

Make sure to change [c]/dev/sda[/c] accordingly

Make sure you have [c]smartmontools[/c] installed

sudo pacman -S smartmontools  ## arch and manjaro
sudo apt install smartmontools ##debian and ubuntu
sudo dnf install smartmontools #fedora and centos

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.