I've been trying to find a way to get terminal to display results of a SMART status check in the terminal for a recovery drive I use.
diskutil info or
diskutil info -plist / only say whether the drive is "Verified" or not.
I'm looking for a script (or a nudge in the right direction in terms of BSD cmds) that will spit out the information on sectors of the drive... Pending, Allocated, all that stuff.