askubuntudan copy paste ettim
The commandline version of the libatasmart library used by Gnome Disks is called skdump part of the libatasmart-bin package which is not installed by default. Install by using:
sudo apt-get install libatasmart-bin
Next run the following command to see the SMART information by running the following command in the terminal (replacing /dev/sda by the path to your drive):
sudo skdump /dev/sda
As an alternative the smartctl from the smartmontools package could be used. Install by using:
sudo apt-get install smartmontools
You will then be able to get information on SMART by running the following command in the terminal (replacing /dev/sda by the path to your drive):
sudo smartctl -a /dev/sda
Note that smartctl tends to be overly verbose. Use the -q errorsonly argument to display only errors:
sudo smartctl -q errorsonly -a /dev/sda