утилитка tw_cli выдаёт про жёсткий диск информацию по смарту в таком виде. чем это можно декодировать, чтобы прочитать сколько винту осталось и не пора ли его на помойку?3ware/tw_cli "/c0/p6 show smart"
/c0/p6 Drive Smart Data:
0A 00 01 0F 00 5F 5F 0B F1 1D 00 00 00 00 03 03
00 5D 5C 00 00 00 00 00 00 00 04 32 00 64 64 21
00 00 00 00 00 00 05 33 00 51 51 0B 03 00 00 00
00 00 07 0F 00 51 3C E4 C7 BB 09 00 00 00 09 32
00 5C 5C 7D 1C 00 00 00 00 00 0A 13 00 64 64 00
00 00 00 00 00 00 0C 32 00 64 64 21 00 00 00 00
00 00 B8 32 00 64 64 00 00 00 00 00 00 00 BB 32
00 61 61 03 00 00 00 00 00 00 BC 32 00 64 53 41
08 14 08 FE 07 00 BD 3A 00 60 60 04 00 00 00 00
00 00 BE 22 00 27 1E 3D 00 33 45 FF FF 00 C2 22
00 3D 46 3D 00 00 00 0E 00 00 C3 1A 00 2C 1E 0B
F1 1D 00 00 00 00 C5 12 00 64 64 00 00 00 00 00
00 00 C6 10 00 64 64 00 00 00 00 00 00 00 C7 3E
00 C8 C8 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 82 00 61 02 00 7B
03 00 01 00 01 FF 02 22 01 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 01 04 08 08 08 08 08 08
08 00 00 00 00 00 00 00 00 01 00 00 00 00 00 00
00 00 00 00 00 00 00 00 B2 A4 CF E9 E8 17 00 00
00 00 00 00 01 00 47 7E 09 C2 88 00 DF 7E 00 00
96 00 38 83 7C 9C 01 00 00 00 00 00 EA 84 05 00
00 00 00 00 2B 02 00 00 8A 09 00 00 3F 00 09 00
00 00 00 00 2F 3D 16 05 00 00 00 00 00 00 00 09
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 16