Войти

Показать полную графическую версию : [решено] преобразование txt файла в xml


mcintosh55
09-12-2015, 05:42
smartctl 6.4 2015-06-04 r4109 [i686-w64-mingw32-win8(64)] (sf-6.4-1)
Copyright (C) 2002-15, Bruce Allen, Christian Franke, www.smartmontools.org

Read Device Identity failed: Input/output error

A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options.
smartctl 6.4 2015-06-04 r4109 [i686-w64-mingw32-win8(64)] (sf-6.4-1)
Copyright (C) 2002-15, Bruce Allen, Christian Franke, www.smartmontools.org

Warning: Limited functionality due to missing admin rights
Read SMART Thresholds failed: Function not implemented

=== START OF READ SMART DATA SECTION ===
SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
1 Raw_Read_Error_Rate 0x002f 200 200 --- Pre-fail Always - 0
3 Spin_Up_Time 0x0027 152 139 --- Pre-fail Always - 1366
4 Start_Stop_Count 0x0032 097 097 --- Old_age Always - 3775
5 Reallocated_Sector_Ct 0x0033 200 200 --- Pre-fail Always - 0
7 Seek_Error_Rate 0x002e 200 200 --- Old_age Always - 0
9 Power_On_Hours 0x0032 085 085 --- Old_age Always - 11272
10 Spin_Retry_Count 0x0032 100 100 --- Old_age Always - 0
11 Calibration_Retry_Count 0x0032 100 100 --- Old_age Always - 0
12 Power_Cycle_Count 0x0032 097 097 --- Old_age Always - 3754
191 G-Sense_Error_Rate 0x0032 001 001 --- Old_age Always - 2358
192 Power-Off_Retract_Count 0x0032 200 200 --- Old_age Always - 269
193 Load_Cycle_Count 0x0032 001 001 --- Old_age Always - 1364311
194 Temperature_Celsius 0x0022 107 098 --- Old_age Always - 36 (Min/Max 25/38)
196 Reallocated_Event_Count 0x0032 200 200 --- Old_age Always - 0
197 Current_Pending_Sector 0x0032 200 200 --- Old_age Always - 0
198 Offline_Uncorrectable 0x0030 100 253 --- Old_age Offline - 0
199 UDMA_CRC_Error_Count 0x0032 200 200 --- Old_age Always - 0
200 Multi_Zone_Error_Rate 0x0008 100 253 --- Old_age Offline - 0

Есть такой лог в txt формате не подскажите как мне преобразовать его xml файл что б я мог считать отдельный элемент таблици

Iska
09-12-2015, 07:14
Зачем преобразовывать? Что есть «отдельный элемент таблици»?

mcintosh55
09-12-2015, 11:26
Решили вопрос вот такой программой 10-Страйк Инвентаризация Компьютеров Pro




© OSzone.net 2001-2012