This short tip is to check your harddisk to check if it is active or in standby mode using smartctl command:
sudo smartctl -i -n standby /dev/sdx
Note:
x = a letter representing the device you are checking
Update: In addition, the following command helps using hdparm which should works if your drive is in 'sleep' state without waking the drive:
sudo hdparm -C /dev/sdx
Happy holidays!
Follow my blog with Bloglovin
sudo smartctl -i -n standby /dev/sdx
Note:
x = a letter representing the device you are checking
Update: In addition, the following command helps using hdparm which should works if your drive is in 'sleep' state without waking the drive:
sudo hdparm -C /dev/sdx
Happy holidays!