sudo pacman -S smartmontools # arch based sudo apt install smartmontools # debian based # Run sudo smartctl -a /dev/nvme0 # if you have nvme # or sudo smartctl -a /dev/sda # if you hava ssd