How to check WD Green SATA SSD TBW on Manjaro Linux

I have tried the recommended way in askubuntu, using gsmartcontrol, but I still can’t find the rest of my TBW and Total TBW that I have. How can I see the rest of the TBW that I have?

I’ve tried this command too :

sudo smartctl -Ai /dev/sda | grep -E 'Sector Size|Total_LBAs_Written'

But i can’t get my ‘Total_LBAs_Written’
also this command don’t give me any useful output :

echo "GB Written: $(echo "scale=3; $(sudo /usr/sbin/smartctl -A /dev/sda | grep "Total_LBAs_Written" | awk '{print $10}') * 512 / 1073741824" | bc | sed ':a;s/\B[0-9]\{3\}\>/,&/;ta')"
7 replies