Skip to content

Instantly share code, notes, and snippets.

@HackToHell
Created March 19, 2017 13:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save HackToHell/7c658179c24be63bdf739978b97f313a to your computer and use it in GitHub Desktop.
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
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