View how much data have been written on the SSD

This section is for our team to post helpful articles. Let us know if you'd like to contribute!
arifur
Site Admin
Posts: 107
Joined: Tue Nov 15, 2011 5:12 pm

View how much data have been written on the SSD

Post by arifur » Tue May 16, 2017 5:43 pm

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

Code: Select all

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

arifur
Site Admin
Posts: 107
Joined: Tue Nov 15, 2011 5:12 pm

Re: View how much data have been written on the SSD

Post by arifur » Fri Jan 05, 2018 5:42 pm

Make sure you have smartmontools installed

Code: Select all

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

Post Reply Previous topicNext topic

Return to “Linux Howtos”

Who is online

Users browsing this forum: No registered users and 1 guest