Created
July 31, 2025 06:48
-
-
Save rohityadavcloud/3334ab062ba827b251e59566db4ce647 to your computer and use it in GitHub Desktop.
nvme-tbw-check.sh
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
#!/bin/sh | |
sudo smartctl -A /dev/nvme0 | /bin/awk '$0~/Written/{ print strftime("%Y-%m-%d %H:%M:%S"), $3,$4,$5$6}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment