View how much data have been written on the SSD

Published by arifur on

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
Categories: Blog

0 Comments

Leave a Reply

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