ติดตั้ง smartctl Utility บน CentOS7

yum install smartmontools -y

แสดงข้อมูล disk

smartctl -a /dev/sdb

สำหรับ IDE drive

smartctl -a -d ata /dev/sdb

สำหรับ SATA drive

smartctl --all /dev/sda | grep Power_On_Hours | cut -d "-" -f2 | tr -d "[:blank:]"

แสดงชั่วโมงที่ทำงานตั้งแต่โดนไฟครั้งแรก