smartmontools for SMART HDD


The smartmontools package contains two utility programs (smartctl and smartd) to control and monitor storage systems using the Self-Monitoring, Analysis and Reporting Technology System (SMART) built into most modern ATA and SCSI harddisks. In many cases, these utilities will provide advanced warning of disk degradation and failure.

How to install

brew install smartmontools

맥에서 특정 윈도우만 캡쳐하고 싶을때

Command + Shift + 4 + Space

참고로 화면 전체는 Command + Shift + 3
원하는 특정 화면은 Command + Shift + 4

awk로 split하기

echo “” | awk -F “.” ‘{ print $1 “.” $2 “.” }’

 -F fs
 --field-separator fs
         Use fs for the input field separator