Thursday, December 8, 2016

Getting Detailed S.M.A.R.T status on Mac

Below is a small, simple step by step to install smartctl which gives detailed information about internal hard drives and both HDD and SSD.

To install smartctl

/usr/bin/ruby -e "$(curl -fsSL"

brew install smartmontools

find /usr -name smartctl

cd /Users/admin/

mkdir .bin

cd /.bin

cd /Users/admin/.bin/

mkdir shell-tools

cd shell-tools/

mkdir smartctl

find /usr -name smartctl

*Check the first location, it will not be the same. This is from the find command above.*
ln -s /usr/local/Cellar/smartmontools/6.5/bin/smartctl /Users/admin/.bin/shell-tools/smartctl/smartctl

nano /Users/admin/.bash_profile
\-> add: PATH=“$PATH:$HOME/.bin/shell-tools/smartctl”

*Close Terminal App and reopen. 
Now you can use the smartctl command. 

smartctl -a disk1

No comments:

Post a Comment