Use `smartctl -a /dev/sdX` for SATA SSDs
Use `smartctl -a /dev/nvmeXn1` for NVMe SSDs
Check `smartctl -H /dev/sdX` for overall health
Check `smartctl -H /dev/nvmeXn1` for NVMe health
Use `smartctl -A /dev/sdX` to view SMART attributes
Use `smartctl -x /dev/sdX` for full SMART details
Use `smartctl -x /dev/nvmeXn1` for full NVMe details
Use `nvme smart-log /dev/nvmeX` for NVMe SMART log
Use `sudo smartctl –scan` to find detected drives
Install smartmontools if `smartctl` is unavailable
Run the commands with `sudo` if required
Look for `PASSED` in the health status
Check reallocated sectors, wear level, and media errors
Check percentage used or remaining life on NVMe drives
Use your OS disk utility for a graphical SMART check
Run the test with the correct device path for the SSD
