4 ms·
awk is probably better in this case, since you can save only the raw values (and other columns that you deem important): awk '/Reallocated_Sector_Ct|Current
by twr 10y ago
awk is probably better in this case, since you can save only the raw values (and other columns that you deem important):
awk '/Reallocated_Sector_Ct|Current_Pending_Sector|Offline_Uncorrectable|UDMA_CRC_Error_Count/ {print $2,$10}'