หน้า 1 จากทั้งหมด 1

ตรวจสอบข้อมูล Disk Centos (smartctl Utility)

โพสต์: พฤหัสบดี 22 ก.ค. 2021 01:31
โดย slwt2002
ติดตั้ง 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:]"
แสดงชั่วโมงที่ทำงานตั้งแต่โดนไฟครั้งแรก