Created
March 19, 2017 13:58
-
-
Save HackToHell/7c658179c24be63bdf739978b97f313a to your computer and use it in GitHub Desktop.
Script to get the amount of data written to the Samsung EVO 850 SSD
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo smartctl -A /dev/sdb | awk '/^241/ { print "TBW: "($10 * 512) * 1.0e-12, "TB" } ' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment