...
=== START OF READ SMART DATA SECTION ===
SMART Attributes Data Structure revision number: 10
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
1 Raw_Read_Error_Rate 0x000f 107 097 006 Pre-fail Always - 0
3 Spin_Up_Time 0x0003 095 095 000 Pre-fail Always - 0
4 Start_Stop_Count 0x0032 100 100 020 Old_age Always - 161
5 Reallocated_Sector_Ct 0x0033 100 100 036 Pre-fail Always - 0
7 Seek_Error_Rate 0x000f 085 060 030 Pre-fail Always - 362718182
9 Power_On_Hours 0x0032 049 049 000 Old_age Always - 45320
10 Spin_Retry_Count 0x0013 100 100 097 Pre-fail Always - 0
12 Power_Cycle_Count 0x0032 100 100 020 Old_age Always - 214
187 Reported_Uncorrect 0x0032 100 100 000 Old_age Always - 0
189 High_Fly_Writes 0x003a 100 100 000 Old_age Always - 0
190 Airflow_Temperature_Cel 0x0022 070 058 045 Old_age Always - 30 (Min/Max 27/34)
194 Temperature_Celsius 0x0022 030 042 000 Old_age Always - 30 (0 19 0 0)
195 Hardware_ECC_Recovered 0x001a 061 054 000 Old_age Always - 56211952
197 Current_Pending_Sector 0x0012 100 100 000 Old_age Always - 0
198 Offline_Uncorrectable 0x0010 100 100 000 Old_age Offline - 0
199 UDMA_CRC_Error_Count 0x003e 200 200 000 Old_age Always - 0
200 Multi_Zone_Error_Rate 0x0000 100 253 000 Old_age Offline - 0
202 Data_Address_Mark_Errs 0x0032 100 253 000 Old_age Always - 0
...
Отбираем по именам
# sudo smartctl -A /dev/sda | grep Power_On_Hours | awk '{print $ 10+0}'
45320
# sudo smartctl -A /dev/sda | grep ^195 | awk '{print $ 10+0}'
56765636
# sudo smartctl -A /dev/sda | grep "^ 9" | awk '{print $ 10+0}'
45320