Disk is dying, how to check from the command line

My HASSOS installation has started to simply go dead. I think the disk is dying.
How can I check the smart parameters?