I want to write a script to get infomation about the stability of my IDE hard disk. I want to know how many bit errors have occured and corrected. I think it maybe can be retrieved from S.M.A.R.T so I emerge'd ide-smart, but the output of ide-smart looks like a mess for me. How can I tell the bit errors infomation from the following? Or I should use another method to achieve my goal?

[EMAIL PROTECTED] app-admin $ sudo ide-smart -d /dev/hda
Id=  1  Status=41  {Prefailure  OffLine}  Value=100  Threshold= 20  Passed
Id=  3  Status=39  {Prefailure  Online }  Value= 80  Threshold= 20  Passed
Id=  4  Status=50  {Advisory    Online }  Value= 99  Threshold=  8  Passed
Id=  5  Status=51  {Prefailure  Online }  Value=100  Threshold= 20  Passed
Id=  7  Status=11  {Prefailure  Online }  Value=100  Threshold= 23  Passed
Id=  9  Status=18  {Advisory    Online }  Value= 93  Threshold=  1  Passed
Id= 10  Status=38  {Advisory    Online }  Value=100  Threshold=  0  Passed
Id= 11  Status=19  {Prefailure  Online }  Value=100  Threshold= 20  Passed
Id= 12  Status=50  {Advisory    Online }  Value= 99  Threshold=  8  Passed
Id= 13  Status=11  {Prefailure  Online }  Value=100  Threshold= 23  Passed
Id=194  Status=34  {Advisory    Online }  Value= 87  Threshold= 42  Passed
Id=195  Status=26  {Advisory    Online }  Value=100  Threshold=  0  Passed
Id=196  Status=16  {Advisory    OffLine}  Value=100  Threshold= 20  Passed
Id=197  Status=50  {Advisory    Online }  Value=100  Threshold= 20  Passed
Id=198  Status=16  {Advisory    OffLine}  Value=100  Threshold=  0  Passed
Id=199  Status=26  {Advisory    Online }  Value=197  Threshold=  0  Passed
OffLineStatus=2 {Completed}, AutoOffLine=No, OffLineTimeout=0 minutes
OffLineCapability=27 {Immediate Auto SuspendOnCmd}
SmartRevision=11, CheckSum=189, SmartCapability=3 {SaveOnStandBy AutoSave}


-- [email protected] mailing list



Reply via email to