Yeung Alan преди 5 години
родител
ревизия
5bbb6a32ef
променени са 9 файла, в които са добавени 133 реда и са изтрити 2317 реда
  1. 102 52
      DiskInfo/index.php
  2. 31 6
      DiskInfo/opr.php
  3. 0 65
      DiskInfo/scan.txt
  4. 0 548
      DiskInfo/sda.txt
  5. 0 570
      DiskInfo/sda_home.txt
  6. 0 459
      DiskInfo/sdb.txt
  7. 0 617
      DiskInfo/sdc.txt
  8. BIN
      DiskInfo/smartctl_i386
  9. BIN
      DiskInfo/smartctl_x86_64

+ 102 - 52
DiskInfo/index.php

@@ -9,37 +9,45 @@ include_once '../auth.php';
 	<script src="../script/ao_module.js"></script>
 	<meta name="viewport" content="width=device-width, initial-scale=0.6, shrink-to-fit=no">
 	<style>
+	body{
+		overflow-y: hidden;
+	}
 	.item{
 		text-align: center;
 	}
 	.ts.mini.input{
 		padding: .48571em 1em;
 	}
+	.ts.horizontal.form .field.field>label{
+		top: 0.5em;
+	}
 	</style>
 	</head>
 <body>
 <div class="ts tabbed menu" id="menu">
 </div>
 <div class="ts grid">
-    <div class="sixteen wide column"><h3 class="ts center aligned header" id="drivename">INTEL SSDSC2BW240H6 240.0GB</h3></div>
+    <div class="sixteen wide column"><h3 class="ts center aligned header" id="drivename" data-tooltip="">----</h3></div>
     <div class="sixteen wide column">
 		<div class="ts narrow container">
 			<div class="ts grid">
 				<div class="two wide column">
-					<h5 class="ts center aligned header">Health Status</h5>
-					<div class="ts inverted primary card">
-						<div class="content">
-							<div class="header" style="text-align: center;" id="health_status">Good</div>
-							<div class="description" style="text-align: center;" id="health_prec">
-								95%
+					<div class="tablet or large device only">
+						<h5 class="ts center aligned header">Health Status</h5>
+						<div class="ts card" id="health_c">
+							<div class="content">
+								<div class="header" style="text-align: center;" id="health_status">----</div>
+								<div class="description" style="text-align: center;" id="health_prec">
+									----
+								</div>
 							</div>
 						</div>
-					</div>
-					<h5 class="ts center aligned header">Temperture</h5>
-					<div class="ts inverted primary card">
-						<div class="content">
-							<div class="description" style="text-align: center;" id="temperture">
-								25C
+						<h5 class="ts center aligned header">Temperature</h5>
+						<div class="ts card" id="temperature_c">
+							<div class="content">
+								<div class="description" style="text-align: center;" id="temperature">
+									
+								</div>
 							</div>
 						</div>
 					</div>
@@ -52,15 +60,15 @@ include_once '../auth.php';
 									<div class="ts horizontal form" style="opacity: 1;">
 										<div class="disabled field" style="opacity: 1;">
 											<label style="color:black">Firmware</label>
-											<input id="firmware" class="ts mini input" style="color:black" type="text" value="RG21"></input>
+											<input id="firmware" class="ts mini input" style="color:black" type="text" value="----"></input>
 										</div>
 									</div>
 								</div>
 								<div class="eight wide column">
 									<div class="ts horizontal form" style="opacity: 1;">
 										<div class="disabled field" style="opacity: 1;">
-											<label id="col1" style="color:black">Total Host Reads</label>
-											<input id="col1_v" class="ts mini input" style="color:black" type="text" value="22507GB"></input>
+											<label id="col1" style="color:black">----</label>
+											<input id="col1_v" class="ts mini input" style="color:black" type="text" value="----"></input>
 										</div>
 									</div>
 								</div>
@@ -72,15 +80,15 @@ include_once '../auth.php';
 									<div class="ts horizontal form" style="opacity: 1;">
 										<div class="disabled field" style="opacity: 1;">
 											<label style="color:black">Serial Number</label>
-											<input id="serial" class="ts mini input" style="color:black" type="text" value="CVTR505030T240CGN"></input>
+											<input id="serial" class="ts mini input" style="color:black" type="text" value="----"></input>
 										</div>
 									</div>
 								</div>
 								<div class="eight wide column">
 									<div class="ts horizontal form" style="opacity: 1;">
 										<div class="disabled field" style="opacity: 1;">
-											<label id="col2" style="color:black">Total Host Writes</label>
-											<input id="col2_v" class="ts mini input" style="color:black" type="text" value="18517GB"></input>
+											<label id="col2" style="color:black">----</label>
+											<input id="col2_v" class="ts mini input" style="color:black" type="text" value="----"></input>
 										</div>
 									</div>
 								</div>
@@ -92,15 +100,15 @@ include_once '../auth.php';
 									<div class="ts horizontal form" style="opacity: 1;">
 										<div class="disabled field" style="opacity: 1;">
 											<label style="color:black">Interface</label>
-											<input id="interface" class="ts mini input" style="color:black" type="text" value="Serial ATA"></input>
+											<input id="interface" class="ts mini input" style="color:black" type="text" value="----"></input>
 										</div>
 									</div>
 								</div>
 								<div class="eight wide column">
 									<div class="ts horizontal form" style="opacity: 1;">
 										<div class="disabled field" style="opacity: 1;">
-											<label id="col3" style="color:black">Total NAND Writes</label>
-											<input id="col3_v" class="ts mini input" style="color:black" type="text" value="77840GB"></input>
+											<label id="col3" style="color:black">----</label>
+											<input id="col3_v" class="ts mini input" style="color:black" type="text" value="----"></input>
 										</div>
 									</div>
 								</div>
@@ -112,7 +120,7 @@ include_once '../auth.php';
 									<div class="ts horizontal form" style="opacity: 1;">
 										<div class="disabled field" style="opacity: 1;">
 											<label style="color:black">Transfer Mode</label>
-											<input id="transfer" class="ts mini input" style="color:black" type="text" value="SATA/600 | SATA/600"></input>
+											<input id="transfer" class="ts mini input" style="color:black" type="text" value="----"></input>
 										</div>
 									</div>
 								</div>
@@ -120,7 +128,7 @@ include_once '../auth.php';
 									<div class="ts horizontal form" style="opacity: 1;">
 										<div class="disabled field" style="opacity: 1;">
 											<label style="color:black">Power On Count</label>
-											<input id="powercount" class="ts mini input" style="color:black" type="text" value="3816 count"></input>
+											<input id="powercount" class="ts mini input" style="color:black" type="text" value="----"></input>
 										</div>
 									</div>
 								</div>
@@ -132,7 +140,7 @@ include_once '../auth.php';
 									<div class="ts horizontal form" style="opacity: 1;">
 										<div class="disabled field" style="opacity: 1;">
 											<label style="color:black">Drive Letter</label>
-											<input id="driveleter" class="ts mini input" style="color:black" type="text" value="C:"></input>
+											<input id="driveleter" class="ts mini input" style="color:black" type="text" value="----"></input>
 										</div>
 									</div>
 								</div>
@@ -140,7 +148,7 @@ include_once '../auth.php';
 									<div class="ts horizontal form" style="opacity: 1;">
 										<div class="disabled field" style="opacity: 1;">
 											<label style="color:black">Power On Hours</label>
-											<input id="powerhour" class="ts mini input" style="color:black" type="text" value="1834 hours"></input>
+											<input id="powerhour" class="ts mini input" style="color:black" type="text" value="----"></input>
 										</div>
 									</div>
 								</div>
@@ -151,25 +159,16 @@ include_once '../auth.php';
 							<div class="ts horizontal form" style="opacity: 1;">
 								<div class="disabled field" style="opacity: 1;">
 									<label style="color:black">Standard</label>
-									<input id="standard" class="ts mini input" style="color:black" type="text" value="ACS-3 | ----"></input>
+									<input id="standard" class="ts mini input" style="color:black" type="text" value="----"></input>
 								</div>
 							</div>
 						</div>
-						<div class="sixteen wide column">
-							<div class="ts horizontal form" style="opacity: 1;">
-								<div class="disabled field" style="opacity: 1;">
-									<label style="color:black">Features</label>
-									<input id="features" class="ts mini input" style="color:black" type="text" value="S.M.A.R.T., APM, NCQ, TRIM, DevSleep"></input>
-								</div>
-							</div>
-						</div>
-						
 					</div>
 				</div>
 			</div>
 		</div>
 	</div>
-	</div class="sixteen wide column">
+	<div class="sixteen wide column" style="height: 37vh;overflow-y: scroll;right: 5px;">
 		<br>
 		<div class="ts narrow container">
 			<table class="ts very basic table">
@@ -186,26 +185,52 @@ include_once '../auth.php';
 			</thead>
 			<tbody id="tbody">
 			</tbody>
-		</table>
+			</table>
 		</div>
 	</div>
 </div>
 </body>
 <script>
 var active = "<?php echo isset($_GET["drive"])?$_GET["drive"]:"" ?>";
+var smartstat = [];
+
+if(ao_module_virtualDesktop){
+	ao_module_setWindowSize(980,580);
+}
+
 $.get( "opr.php?opr=scan", function( data ) {
 	var arr = JSON.parse(data);
+	if(active == ""){
+		window.location = "index.php?drive=" + arr["devices"][0]["info_name"];
+	}
 	$(arr["devices"]).each(function(index, element) {
-		if(active == element["info_name"]){
-			$( "#menu" ).append('<a class="active item" href="?drive=' + element["info_name"] + '">' + smartok(element["info_name"]) + '<br>29C<br>' + element["info_name"] + '</a>');
-		}else{
-			$( "#menu" ).append('<a class="item" href="?drive=' + element["info_name"] + '">' + smartok(element["info_name"]) + '<br>29C<br>' + element["info_name"] + '</a>');
-		}
+		$.get( "opr.php?opr=info&drive=" + element["info_name"], function( data ) {
+			if(data.length > 0){
+				var table = JSON.parse(data);
+				if(table["ata_smart_attributes"]["table"].length > 0){
+					$(table["ata_smart_attributes"]["table"]).each(function(tindex, telement) {
+						if(telement["when_failed"] == ""){
+							smartstat[element["info_name"]] = "Good";
+						}else{
+							smartstat[element["info_name"]] = "Warning";
+						}
+					});
+				}else{
+					smartstat[element["info_name"]] = "Unknown";
+				}
+				if(active == element["info_name"]){
+					$( "#menu" ).append('<a class="active item" href="?drive=' + element["info_name"] + '">' + smartstat[element["info_name"]] + '<br>' + table["temperature"]["current"] + '°C<br>' + element["info_name"] + '</a>');
+				}else{
+					$( "#menu" ).append('<a class="item" href="?drive=' + element["info_name"] + '">' + smartstat[element["info_name"]] + '<br>' + table["temperature"]["current"] + '°C<br>' + element["info_name"] + '</a>');
+				}
+			}
+		});
 	});
 });
 $.get( "opr.php?opr=info&drive=" + active, function( data ) {
 	var arr = JSON.parse(data);
-	$("#drivename").html(arr["model_family"] + " " + arr["model_name"] + " " + formatSizeUnits(arr["user_capacity"]["bytes"]));
+	$("#drivename").html(arr["model_name"] + " " + formatSizeUnits(arr["user_capacity"]["bytes"]));
+	$("#drivename").attr("data-tooltip",arr["model_family"]);
 	$("#firmware").attr("value",arr["firmware_version"]);
 	$("#serial").attr("value",arr["serial_number"]);
 	$("#interface").attr("value",arr["device"]["protocol"]);
@@ -232,29 +257,54 @@ $.get( "opr.php?opr=info&drive=" + active, function( data ) {
 	}
 	$("#powercount").attr("value",arr["power_cycle_count"] + " count");
 	$("#powerhour").attr("value",arr["power_on_time"]["hours"] + " hours");
+	smartstat[active] = "Unknown";
 	$(arr["ata_smart_attributes"]["table"]).each(function(index, element) {
 		if(element["when_failed"] == ""){
 			var stat = "OK";
 		}else{
 			var stat = "Failed";
+			//smartstat[active] = "Warning";
 		}
 		$("#tbody").append('<tr><td>' + stat + '</td><td>' + element["id"] + '</td><td>' + element["name"] + '</td><td>' + element["value"] + '</td><td>' + element["worst"] + '</td><td>' + element["thresh"] + '</td><td>' + element["raw"]["value"] + '</td></tr>');
+		
+		if(element["name"] == "SSD_Life_Left"){
+			$("#health_prec").html(element["value"] + "%");
+		}
 	});
+	/*
+	if(smartstat[active] == "Unknown"){
+		smartstat[active] = "Good";
+	}
+	*/
+	if(smartstat[active] == "Warning"){
+		$("#health_c").attr("class","ts inverted warning card");
+	}else if(smartstat[active] == "Good"){
+		$("#health_c").attr("class","ts inverted primary card");
+	}else if(smartstat[active] == "Unknown"){
+		$("#health_c").attr("class","ts card");
+	}
+	if(arr["temperature"]["current"] > 40){
+		$("#temperature_c").attr("class","ts inverted warning card");
+	}else if(arr["temperature"]["current"] > 0 && arr["temperature"]["current"] < 40){
+		$("#temperature_c").attr("class","ts inverted primary card");
+	}else{
+		$("#temperature_c").attr("class","ts card");
+	}
+	$("#health_status").html(smartstat[active]);
+	$("#temperature").html(arr["temperature"]["current"] + "°C");
 });
 
-function smartok(drive){
-	return "Good";
-}
-
 //from https://stackoverflow.com/questions/5501427/php-filesize-mb-kb-conversion/5501447
     function formatSizeUnits(bytes)
     {
-        if(bytes >= 1000000000){
-            bytes = Math.round(bytes / 1000000000,2) + 'GB';
+		if(bytes >= 1000000000000){
+			bytes = Math.round(bytes / 1000000000000) + 'TB';
+		}else if(bytes >= 1000000000){
+            bytes = Math.round(bytes / 1000000000) + 'GB';
         }else if (bytes >= 1000000){
-            bytes = Math.round(bytes / 1000000,2) + 'MB';
+            bytes = Math.round(bytes / 1000000) + 'MB';
         }else if (bytes >= 1000){
-            bytes = Math.round(bytes / 1000,2) +  'KB';
+            bytes = Math.round(bytes / 1000) +  'KB';
         }else if (bytes > 1){
             bytes = bytes + 'bytes';
         }else if (bytes == 1){

+ 31 - 6
DiskInfo/opr.php

@@ -1,9 +1,30 @@
 <?php
 header("Access-Control-Allow-Origin: *");
+// WARNING the smartctl binary seem is corrupted
+// you need smartctl 7.0.0 above to support JSON output
+// or you can choose to install by apt
+// in here are hard coded to static code for ease for debug
+// you should uncomment before use it
 
+$ok = false;
+preg_match('/smartmontools release ([0-9])\.([0-9])/', shell_exec(' sudo smartctl --version | grep "release"'), $filter);
+if(isset($filter[1])){
+	if($filter[1] > 6){
+		$binary = "smartctl";
+		$ok = true;
+	}
+}
+
+if($ok == false){
+	if(strpos(exec('uname -m'), 'arm') !== false){
+		$binary = "./smartctl_armv6";
+	}else{
+		$binary = "./smartctl_x86_64";
+	}
+}
 if($_GET["opr"] == "scan"){
-	//echo shell_exec('./smartctl_i386 --scan -j');
-	echo file_get_contents("scan.txt");
+	echo shell_exec($binary.' --scan -j');
+	//echo file_get_contents("scan.txt");
 }else if($_GET["opr"] == "info"){
 	//smartctl -H /dev/sdb -j
 	//echo shell_exec('sudo ./smartctl_i386 -i '.$_GET["drive"].' -j -A');
@@ -15,14 +36,18 @@ if($_GET["opr"] == "scan"){
     $DiskData["device"]["info_name"] = "Unknown";
     $DiskData["firmware_version"] = "0.0.0";
     $DiskData["serial_number"] = "Unknown";
-    $DiskData["power_on_time"]["hours"] = 0;
+	$DiskData["power_on_time"]["hours"] = 0;
+    $DiskData["power_cycle_count"] = 0;
     $DiskData["sata_version"]["string"] = "Unknown";
     $DiskData["interface_speed"]["current"]["string"] = "Unknown";
-    $DiskData["rotation_rate"] = 0;
+	$DiskData["interface_speed"]["max"]["string"] = "Unknown";
+    $DiskData["ata_version"]["string"] = "Unknown";
+	$DiskData["rotation_rate"] = 0;
     $DiskData["device"]["protocol"] = "Unknown";
+	$DiskData["ata_smart_attributes"]["table"] = [];
 	
-	//$execResult = json_decode(shell_exec('sudo ./smartctl_i386 -i '.$_GET["drive"].' -j -A'),true);
-	$execResult = json_decode(file_get_contents(explode("/",$_GET["drive"])[2].".txt"),true);
+	$execResult = json_decode(shell_exec('sudo '.$binary.' -i '.$_GET["drive"].' -j -A'),true);
+	//$execResult = json_decode(file_get_contents(explode("/",$_GET["drive"])[2].".txt"),true);
 	if($execResult == null){
 		die("");
 	}

+ 0 - 65
DiskInfo/scan.txt

@@ -1,65 +0,0 @@
-{
-  "json_format_version": [
-    1,
-    0
-  ],
-  "smartctl": {
-    "version": [
-      7,
-      0
-    ],
-    "svn_revision": "4883",
-    "platform_info": "x86_64-w64-mingw32-win7-sp1",
-    "build_info": "(sf-7.0-1)",
-    "argv": [
-      "smartctl",
-      "--scan",
-      "-j"
-    ],
-    "exit_status": 0
-  },
-  "devices": [
-    {
-      "name": "/dev/sda",
-      "info_name": "/dev/sda",
-      "type": "ata",
-      "protocol": "ATA"
-    },
-    {
-      "name": "/dev/sdb",
-      "info_name": "/dev/sdb",
-      "type": "ata",
-      "protocol": "ATA"
-    },
-    {
-      "name": "/dev/sdc",
-      "info_name": "/dev/sdc",
-      "type": "ata",
-      "protocol": "ATA"
-    },
-    {
-      "name": "/dev/csmi0,0",
-      "info_name": "/dev/csmi0,0",
-      "type": "ata",
-      "protocol": "ATA"
-    },
-    {
-      "name": "/dev/csmi0,1",
-      "info_name": "/dev/csmi0,1",
-      "type": "ata",
-      "protocol": "ATA"
-    },
-    {
-      "name": "/dev/csmi0,2",
-      "info_name": "/dev/csmi0,2",
-      "type": "ata",
-      "protocol": "ATA"
-    },
-    {
-      "name": "/dev/csmi0,4",
-      "info_name": "/dev/csmi0,4",
-      "type": "ata",
-      "protocol": "ATA"
-    }
-  ]
-}

+ 0 - 548
DiskInfo/sda.txt

@@ -1,548 +0,0 @@
-{
-  "json_format_version": [
-    1,
-    0
-  ],
-  "smartctl": {
-    "version": [
-      7,
-      0
-    ],
-    "svn_revision": "4883",
-    "platform_info": "x86_64-w64-mingw32-win7-sp1",
-    "build_info": "(sf-7.0-1)",
-    "argv": [
-      "smartctl",
-      "-a",
-      "/dev/sda",
-      "-json"
-    ],
-    "exit_status": 12
-  },
-  "device": {
-    "name": "/dev/sda",
-    "info_name": "/dev/sda",
-    "type": "ata",
-    "protocol": "ATA"
-  },
-  "model_family": "SandForce Driven SSDs",
-  "model_name": "KINGSTON SV300S37A60G",
-  "serial_number": "30353230423632373435",
-  "firmware_version": "580ABBF0",
-  "in_smartctl_database": true,
-  "local_time": {
-    "time_t": 1550709320,
-    "asctime": "Thu Feb 21 08:35:20 2019 CST"
-  },
-  "smart_status": {
-    "passed": false
-  },
-  "ata_smart_data": {
-    "offline_data_collection": {
-      "status": {
-        "value": 5,
-        "string": "was aborted by an interrupting command from host"
-      },
-      "completion_seconds": 1
-    },
-    "self_test": {
-      "status": {
-        "value": 16,
-        "string": "was aborted by the host"
-      },
-      "polling_minutes": {
-        "short": 1,
-        "extended": 48,
-        "conveyance": 2
-      }
-    },
-    "capabilities": {
-      "values": [
-        125,
-        3
-      ],
-      "exec_offline_immediate_supported": true,
-      "offline_is_aborted_upon_new_cmd": true,
-      "offline_surface_scan_supported": true,
-      "self_tests_supported": true,
-      "conveyance_self_test_supported": true,
-      "selective_self_test_supported": true,
-      "attribute_autosave_enabled": true,
-      "error_logging_supported": true,
-      "gp_logging_supported": false
-    }
-  },
-  "ata_smart_attributes": {
-    "revision": 10,
-    "table": [
-      {
-        "id": 1,
-        "name": "Raw_Read_Error_Rate",
-        "value": 120,
-        "worst": 120,
-        "flags": {
-          "value": 50,
-          "string": "-O--CK ",
-          "prefailure": false,
-          "updated_online": true,
-          "performance": false,
-          "error_rate": false,
-          "event_count": true,
-          "auto_keep": true
-        },
-        "raw": {
-          "value": 0,
-          "string": "0/0"
-        }
-      },
-      {
-        "id": 5,
-        "name": "Retired_Block_Count",
-        "value": 100,
-        "worst": 100,
-        "flags": {
-          "value": 51,
-          "string": "PO--CK ",
-          "prefailure": true,
-          "updated_online": true,
-          "performance": false,
-          "error_rate": false,
-          "event_count": true,
-          "auto_keep": true
-        },
-        "raw": {
-          "value": 0,
-          "string": "0"
-        }
-      },
-      {
-        "id": 9,
-        "name": "Power_On_Hours_and_Msec",
-        "value": 99,
-        "worst": 99,
-        "flags": {
-          "value": 50,
-          "string": "-O--CK ",
-          "prefailure": false,
-          "updated_online": true,
-          "performance": false,
-          "error_rate": false,
-          "event_count": true,
-          "auto_keep": true
-        },
-        "raw": {
-          "value": 13272780384503394,
-          "string": "1634h+51m+30.310s"
-        }
-      },
-      {
-        "id": 12,
-        "name": "Power_Cycle_Count",
-        "value": 100,
-        "worst": 100,
-        "flags": {
-          "value": 50,
-          "string": "-O--CK ",
-          "prefailure": false,
-          "updated_online": true,
-          "performance": false,
-          "error_rate": false,
-          "event_count": true,
-          "auto_keep": true
-        },
-        "raw": {
-          "value": 939,
-          "string": "939"
-        }
-      },
-      {
-        "id": 171,
-        "name": "Program_Fail_Count",
-        "value": 100,
-        "worst": 100,
-        "flags": {
-          "value": 10,
-          "string": "-O-R-- ",
-          "prefailure": false,
-          "updated_online": true,
-          "performance": false,
-          "error_rate": true,
-          "event_count": false,
-          "auto_keep": false
-        },
-        "raw": {
-          "value": 0,
-          "string": "0"
-        }
-      },
-      {
-        "id": 172,
-        "name": "Erase_Fail_Count",
-        "value": 100,
-        "worst": 100,
-        "flags": {
-          "value": 50,
-          "string": "-O--CK ",
-          "prefailure": false,
-          "updated_online": true,
-          "performance": false,
-          "error_rate": false,
-          "event_count": true,
-          "auto_keep": true
-        },
-        "raw": {
-          "value": 0,
-          "string": "0"
-        }
-      },
-      {
-        "id": 174,
-        "name": "Unexpect_Power_Loss_Ct",
-        "value": 0,
-        "worst": 0,
-        "flags": {
-          "value": 48,
-          "string": "----CK ",
-          "prefailure": false,
-          "updated_online": false,
-          "performance": false,
-          "error_rate": false,
-          "event_count": true,
-          "auto_keep": true
-        },
-        "raw": {
-          "value": 0,
-          "string": "0"
-        }
-      },
-      {
-        "id": 177,
-        "name": "Wear_Range_Delta",
-        "value": 0,
-        "worst": 0,
-        "flags": {
-          "value": 0,
-          "string": "------ ",
-          "prefailure": false,
-          "updated_online": false,
-          "performance": false,
-          "error_rate": false,
-          "event_count": false,
-          "auto_keep": false
-        },
-        "raw": {
-          "value": 99,
-          "string": "99"
-        }
-      },
-      {
-        "id": 181,
-        "name": "Program_Fail_Count",
-        "value": 100,
-        "worst": 100,
-        "flags": {
-          "value": 10,
-          "string": "-O-R-- ",
-          "prefailure": false,
-          "updated_online": true,
-          "performance": false,
-          "error_rate": true,
-          "event_count": false,
-          "auto_keep": false
-        },
-        "raw": {
-          "value": 0,
-          "string": "0"
-        }
-      },
-      {
-        "id": 182,
-        "name": "Erase_Fail_Count",
-        "value": 100,
-        "worst": 100,
-        "flags": {
-          "value": 50,
-          "string": "-O--CK ",
-          "prefailure": false,
-          "updated_online": true,
-          "performance": false,
-          "error_rate": false,
-          "event_count": true,
-          "auto_keep": true
-        },
-        "raw": {
-          "value": 0,
-          "string": "0"
-        }
-      },
-      {
-        "id": 187,
-        "name": "Reported_Uncorrect",
-        "value": 99,
-        "worst": 99,
-        "flags": {
-          "value": 18,
-          "string": "-O--C- ",
-          "prefailure": false,
-          "updated_online": true,
-          "performance": false,
-          "error_rate": false,
-          "event_count": true,
-          "auto_keep": false
-        },
-        "raw": {
-          "value": 1,
-          "string": "1"
-        }
-      },
-      {
-        "id": 189,
-        "name": "Airflow_Temperature_Cel",
-        "value": 27,
-        "worst": 51,
-        "flags": {
-          "value": 0,
-          "string": "------ ",
-          "prefailure": false,
-          "updated_online": false,
-          "performance": false,
-          "error_rate": false,
-          "event_count": false,
-          "auto_keep": false
-        },
-        "raw": {
-          "value": 68722819099,
-          "string": "27 (Min/Max 16/51)"
-        }
-      },
-      {
-        "id": 194,
-        "name": "Temperature_Celsius",
-        "value": 27,
-        "worst": 51,
-        "flags": {
-          "value": 34,
-          "string": "-O---K ",
-          "prefailure": false,
-          "updated_online": true,
-          "performance": false,
-          "error_rate": false,
-          "event_count": false,
-          "auto_keep": true
-        },
-        "raw": {
-          "value": 68722819099,
-          "string": "27 (Min/Max 16/51)"
-        }
-      },
-      {
-        "id": 195,
-        "name": "ECC_Uncorr_Error_Count",
-        "value": 120,
-        "worst": 120,
-        "flags": {
-          "value": 28,
-          "string": "--SRC- ",
-          "prefailure": false,
-          "updated_online": false,
-          "performance": true,
-          "error_rate": true,
-          "event_count": true,
-          "auto_keep": false
-        },
-        "raw": {
-          "value": 0,
-          "string": "0/0"
-        }
-      },
-      {
-        "id": 196,
-        "name": "Reallocated_Event_Count",
-        "value": 100,
-        "worst": 100,
-        "flags": {
-          "value": 51,
-          "string": "PO--CK ",
-          "prefailure": true,
-          "updated_online": true,
-          "performance": false,
-          "error_rate": false,
-          "event_count": true,
-          "auto_keep": true
-        },
-        "raw": {
-          "value": 0,
-          "string": "0"
-        }
-      },
-      {
-        "id": 201,
-        "name": "Unc_Soft_Read_Err_Rate",
-        "value": 120,
-        "worst": 120,
-        "flags": {
-          "value": 28,
-          "string": "--SRC- ",
-          "prefailure": false,
-          "updated_online": false,
-          "performance": true,
-          "error_rate": true,
-          "event_count": true,
-          "auto_keep": false
-        },
-        "raw": {
-          "value": 0,
-          "string": "0/0"
-        }
-      },
-      {
-        "id": 204,
-        "name": "Soft_ECC_Correct_Rate",
-        "value": 120,
-        "worst": 120,
-        "flags": {
-          "value": 28,
-          "string": "--SRC- ",
-          "prefailure": false,
-          "updated_online": false,
-          "performance": true,
-          "error_rate": true,
-          "event_count": true,
-          "auto_keep": false
-        },
-        "raw": {
-          "value": 0,
-          "string": "0/0"
-        }
-      },
-      {
-        "id": 230,
-        "name": "Life_Curve_Status",
-        "value": 100,
-        "worst": 100,
-        "flags": {
-          "value": 19,
-          "string": "PO--C- ",
-          "prefailure": true,
-          "updated_online": true,
-          "performance": false,
-          "error_rate": false,
-          "event_count": true,
-          "auto_keep": false
-        },
-        "raw": {
-          "value": 100,
-          "string": "100"
-        }
-      },
-      {
-        "id": 231,
-        "name": "SSD_Life_Left",
-        "value": 1,
-        "worst": 1,
-        "flags": {
-          "value": 19,
-          "string": "PO--C- ",
-          "prefailure": true,
-          "updated_online": true,
-          "performance": false,
-          "error_rate": false,
-          "event_count": true,
-          "auto_keep": false
-        },
-        "raw": {
-          "value": 1,
-          "string": "1"
-        }
-      },
-      {
-        "id": 233,
-        "name": "SandForce_Internal",
-        "value": 0,
-        "worst": 0,
-        "flags": {
-          "value": 50,
-          "string": "-O--CK ",
-          "prefailure": false,
-          "updated_online": true,
-          "performance": false,
-          "error_rate": false,
-          "event_count": true,
-          "auto_keep": true
-        },
-        "raw": {
-          "value": 2967,
-          "string": "2967"
-        }
-      },
-      {
-        "id": 234,
-        "name": "SandForce_Internal",
-        "value": 0,
-        "worst": 0,
-        "flags": {
-          "value": 50,
-          "string": "-O--CK ",
-          "prefailure": false,
-          "updated_online": true,
-          "performance": false,
-          "error_rate": false,
-          "event_count": true,
-          "auto_keep": true
-        },
-        "raw": {
-          "value": 0,
-          "string": "0"
-        }
-      },
-      {
-        "id": 241,
-        "name": "Lifetime_Writes_GiB",
-        "value": 0,
-        "worst": 0,
-        "flags": {
-          "value": 50,
-          "string": "-O--CK ",
-          "prefailure": false,
-          "updated_online": true,
-          "performance": false,
-          "error_rate": false,
-          "event_count": true,
-          "auto_keep": true
-        },
-        "raw": {
-          "value": 0,
-          "string": "0"
-        }
-      },
-      {
-        "id": 242,
-        "name": "Lifetime_Reads_GiB",
-        "value": 0,
-        "worst": 0,
-        "flags": {
-          "value": 50,
-          "string": "-O--CK ",
-          "prefailure": false,
-          "updated_online": true,
-          "performance": false,
-          "error_rate": false,
-          "event_count": true,
-          "auto_keep": true
-        },
-        "raw": {
-          "value": 0,
-          "string": "0"
-        }
-      }
-    ]
-  },
-  "power_on_time": {
-    "hours": 1634,
-    "minutes": 51
-  },
-  "power_cycle_count": 939,
-  "temperature": {
-    "current": 27
-  }
-}

+ 0 - 570
DiskInfo/sda_home.txt

@@ -1,570 +0,0 @@
-{
-  "json_format_version": [
-    1,
-    0
-  ],
-  "smartctl": {
-    "version": [
-      7,
-      0
-    ],
-    "svn_revision": "4883",
-    "platform_info": "x86_64-w64-mingw32-win7-sp1",
-    "build_info": "(sf-7.0-1)",
-    "argv": [
-      "smartctl",
-      "-i",
-      "/dev/sda",
-      "-j",
-      "-A"
-    ],
-    "exit_status": 0
-  },
-  "device": {
-    "name": "/dev/sda",
-    "info_name": "/dev/sda",
-    "type": "ata",
-    "protocol": "ATA"
-  },
-  "model_family": "SandForce Driven SSDs",
-  "model_name": "ADATA SP900",
-  "serial_number": "7F2620004631",
-  "wwn": {
-    "naa": 5,
-    "oui": 7371800,
-    "id": 1002634
-  },
-  "firmware_version": "5.8.2",
-  "user_capacity": {
-    "blocks": 500118192,
-    "bytes": 256060514304
-  },
-  "logical_block_size": 512,
-  "physical_block_size": 512,
-  "rotation_rate": 0,
-  "in_smartctl_database": true,
-  "ata_version": {
-    "string": "ATA8-ACS, ACS-2 T13/2015-D revision 3",
-    "major_value": 508,
-    "minor_value": 272
-  },
-  "sata_version": {
-    "string": "SATA 3.0",
-    "value": 63
-  },
-  "interface_speed": {
-    "max": {
-      "sata_value": 14,
-      "string": "6.0 Gb/s",
-      "units_per_second": 60,
-      "bits_per_unit": 100000000
-    },
-    "current": {
-      "sata_value": 3,
-      "string": "6.0 Gb/s",
-      "units_per_second": 60,
-      "bits_per_unit": 100000000
-    }
-  },
-  "local_time": {
-    "time_t": 1549797551,
-    "asctime": "Sun Feb 10 19:19:11 2019 CST"
-  },
-  "ata_smart_attributes": {
-    "revision": 10,
-    "table": [
-      {
-        "id": 1,
-        "name": "Raw_Read_Error_Rate",
-        "value": 95,
-        "worst": 95,
-        "thresh": 50,
-        "when_failed": "",
-        "flags": {
-          "value": 50,
-          "string": "-O--CK ",
-          "prefailure": false,
-          "updated_online": true,
-          "performance": false,
-          "error_rate": false,
-          "event_count": true,
-          "auto_keep": true
-        },
-        "raw": {
-          "value": 8597147203,
-          "string": "2/7212611"
-        }
-      },
-      {
-        "id": 5,
-        "name": "Retired_Block_Count",
-        "value": 95,
-        "worst": 95,
-        "thresh": 3,
-        "when_failed": "",
-        "flags": {
-          "value": 51,
-          "string": "PO--CK ",
-          "prefailure": true,
-          "updated_online": true,
-          "performance": false,
-          "error_rate": false,
-          "event_count": true,
-          "auto_keep": true
-        },
-        "raw": {
-          "value": 24,
-          "string": "24"
-        }
-      },
-      {
-        "id": 9,
-        "name": "Power_On_Hours_and_Msec",
-        "value": 90,
-        "worst": 90,
-        "thresh": 0,
-        "when_failed": "1",
-        "flags": {
-          "value": 50,
-          "string": "-O--CK ",
-          "prefailure": false,
-          "updated_online": true,
-          "performance": false,
-          "error_rate": false,
-          "event_count": true,
-          "auto_keep": true
-        },
-        "raw": {
-          "value": 3796879938692401,
-          "string": "9521h+14m+44.030s"
-        }
-      },
-      {
-        "id": 12,
-        "name": "Power_Cycle_Count",
-        "value": 98,
-        "worst": 98,
-        "thresh": 0,
-        "when_failed": "",
-        "flags": {
-          "value": 50,
-          "string": "-O--CK ",
-          "prefailure": false,
-          "updated_online": true,
-          "performance": false,
-          "error_rate": false,
-          "event_count": true,
-          "auto_keep": true
-        },
-        "raw": {
-          "value": 2072,
-          "string": "2072"
-        }
-      },
-      {
-        "id": 171,
-        "name": "Program_Fail_Count",
-        "value": 100,
-        "worst": 100,
-        "thresh": 0,
-        "when_failed": "",
-        "flags": {
-          "value": 10,
-          "string": "-O-R-- ",
-          "prefailure": false,
-          "updated_online": true,
-          "performance": false,
-          "error_rate": true,
-          "event_count": false,
-          "auto_keep": false
-        },
-        "raw": {
-          "value": 0,
-          "string": "0"
-        }
-      },
-      {
-        "id": 172,
-        "name": "Erase_Fail_Count",
-        "value": 100,
-        "worst": 100,
-        "thresh": 0,
-        "when_failed": "",
-        "flags": {
-          "value": 50,
-          "string": "-O--CK ",
-          "prefailure": false,
-          "updated_online": true,
-          "performance": false,
-          "error_rate": false,
-          "event_count": true,
-          "auto_keep": true
-        },
-        "raw": {
-          "value": 0,
-          "string": "0"
-        }
-      },
-      {
-        "id": 174,
-        "name": "Unexpect_Power_Loss_Ct",
-        "value": 0,
-        "worst": 0,
-        "thresh": 0,
-        "when_failed": "",
-        "flags": {
-          "value": 48,
-          "string": "----CK ",
-          "prefailure": false,
-          "updated_online": false,
-          "performance": false,
-          "error_rate": false,
-          "event_count": true,
-          "auto_keep": true
-        },
-        "raw": {
-          "value": 249,
-          "string": "249"
-        }
-      },
-      {
-        "id": 177,
-        "name": "Wear_Range_Delta",
-        "value": 0,
-        "worst": 0,
-        "thresh": 0,
-        "when_failed": "",
-        "flags": {
-          "value": 0,
-          "string": "------ ",
-          "prefailure": false,
-          "updated_online": false,
-          "performance": false,
-          "error_rate": false,
-          "event_count": false,
-          "auto_keep": false
-        },
-        "raw": {
-          "value": 99,
-          "string": "99"
-        }
-      },
-      {
-        "id": 181,
-        "name": "Program_Fail_Count",
-        "value": 100,
-        "worst": 100,
-        "thresh": 0,
-        "when_failed": "",
-        "flags": {
-          "value": 10,
-          "string": "-O-R-- ",
-          "prefailure": false,
-          "updated_online": true,
-          "performance": false,
-          "error_rate": true,
-          "event_count": false,
-          "auto_keep": false
-        },
-        "raw": {
-          "value": 0,
-          "string": "0"
-        }
-      },
-      {
-        "id": 182,
-        "name": "Erase_Fail_Count",
-        "value": 100,
-        "worst": 100,
-        "thresh": 0,
-        "when_failed": "",
-        "flags": {
-          "value": 50,
-          "string": "-O--CK ",
-          "prefailure": false,
-          "updated_online": true,
-          "performance": false,
-          "error_rate": false,
-          "event_count": true,
-          "auto_keep": true
-        },
-        "raw": {
-          "value": 0,
-          "string": "0"
-        }
-      },
-      {
-        "id": 187,
-        "name": "Reported_Uncorrect",
-        "value": 100,
-        "worst": 100,
-        "thresh": 0,
-        "when_failed": "",
-        "flags": {
-          "value": 18,
-          "string": "-O--C- ",
-          "prefailure": false,
-          "updated_online": true,
-          "performance": false,
-          "error_rate": false,
-          "event_count": true,
-          "auto_keep": false
-        },
-        "raw": {
-          "value": 0,
-          "string": "0"
-        }
-      },
-      {
-        "id": 194,
-        "name": "Temperature_Celsius",
-        "value": 36,
-        "worst": 57,
-        "thresh": 0,
-        "when_failed": "",
-        "flags": {
-          "value": 34,
-          "string": "-O---K ",
-          "prefailure": false,
-          "updated_online": true,
-          "performance": false,
-          "error_rate": false,
-          "event_count": false,
-          "auto_keep": true
-        },
-        "raw": {
-          "value": 55838310436,
-          "string": "36 (Min/Max 13/57)"
-        }
-      },
-      {
-        "id": 195,
-        "name": "ECC_Uncorr_Error_Count",
-        "value": 100,
-        "worst": 100,
-        "thresh": 0,
-        "when_failed": "",
-        "flags": {
-          "value": 28,
-          "string": "--SRC- ",
-          "prefailure": false,
-          "updated_online": false,
-          "performance": true,
-          "error_rate": true,
-          "event_count": true,
-          "auto_keep": false
-        },
-        "raw": {
-          "value": 8597147203,
-          "string": "2/7212611"
-        }
-      },
-      {
-        "id": 196,
-        "name": "Reallocated_Event_Count",
-        "value": 95,
-        "worst": 95,
-        "thresh": 3,
-        "when_failed": "",
-        "flags": {
-          "value": 51,
-          "string": "PO--CK ",
-          "prefailure": true,
-          "updated_online": true,
-          "performance": false,
-          "error_rate": false,
-          "event_count": true,
-          "auto_keep": true
-        },
-        "raw": {
-          "value": 24,
-          "string": "24"
-        }
-      },
-      {
-        "id": 201,
-        "name": "Unc_Soft_Read_Err_Rate",
-        "value": 100,
-        "worst": 100,
-        "thresh": 0,
-        "when_failed": "",
-        "flags": {
-          "value": 28,
-          "string": "--SRC- ",
-          "prefailure": false,
-          "updated_online": false,
-          "performance": true,
-          "error_rate": true,
-          "event_count": true,
-          "auto_keep": false
-        },
-        "raw": {
-          "value": 8597147203,
-          "string": "2/7212611"
-        }
-      },
-      {
-        "id": 204,
-        "name": "Soft_ECC_Correct_Rate",
-        "value": 100,
-        "worst": 100,
-        "thresh": 0,
-        "when_failed": "",
-        "flags": {
-          "value": 28,
-          "string": "--SRC- ",
-          "prefailure": false,
-          "updated_online": false,
-          "performance": true,
-          "error_rate": true,
-          "event_count": true,
-          "auto_keep": false
-        },
-        "raw": {
-          "value": 8597147203,
-          "string": "2/7212611"
-        }
-      },
-      {
-        "id": 230,
-        "name": "Life_Curve_Status",
-        "value": 100,
-        "worst": 100,
-        "thresh": 0,
-        "when_failed": "",
-        "flags": {
-          "value": 19,
-          "string": "PO--C- ",
-          "prefailure": true,
-          "updated_online": true,
-          "performance": false,
-          "error_rate": false,
-          "event_count": true,
-          "auto_keep": false
-        },
-        "raw": {
-          "value": 100,
-          "string": "100"
-        }
-      },
-      {
-        "id": 231,
-        "name": "SSD_Life_Left",
-        "value": 93,
-        "worst": 93,
-        "thresh": 10,
-        "when_failed": "",
-        "flags": {
-          "value": 19,
-          "string": "PO--C- ",
-          "prefailure": true,
-          "updated_online": true,
-          "performance": false,
-          "error_rate": false,
-          "event_count": true,
-          "auto_keep": false
-        },
-        "raw": {
-          "value": 34359738369,
-          "string": "34359738369"
-        }
-      },
-      {
-        "id": 233,
-        "name": "SandForce_Internal",
-        "value": 0,
-        "worst": 0,
-        "thresh": 0,
-        "when_failed": "",
-        "flags": {
-          "value": 50,
-          "string": "-O--CK ",
-          "prefailure": false,
-          "updated_online": true,
-          "performance": false,
-          "error_rate": false,
-          "event_count": true,
-          "auto_keep": true
-        },
-        "raw": {
-          "value": 15005,
-          "string": "15005"
-        }
-      },
-      {
-        "id": 234,
-        "name": "SandForce_Internal",
-        "value": 0,
-        "worst": 0,
-        "thresh": 0,
-        "when_failed": "",
-        "flags": {
-          "value": 50,
-          "string": "-O--CK ",
-          "prefailure": false,
-          "updated_online": true,
-          "performance": false,
-          "error_rate": false,
-          "event_count": true,
-          "auto_keep": true
-        },
-        "raw": {
-          "value": 15251,
-          "string": "15251"
-        }
-      },
-      {
-        "id": 241,
-        "name": "Lifetime_Writes_GiB",
-        "value": 0,
-        "worst": 0,
-        "thresh": 0,
-        "when_failed": "",
-        "flags": {
-          "value": 50,
-          "string": "-O--CK ",
-          "prefailure": false,
-          "updated_online": true,
-          "performance": false,
-          "error_rate": false,
-          "event_count": true,
-          "auto_keep": true
-        },
-        "raw": {
-          "value": 15251,
-          "string": "15251"
-        }
-      },
-      {
-        "id": 242,
-        "name": "Lifetime_Reads_GiB",
-        "value": 0,
-        "worst": 0,
-        "thresh": 0,
-        "when_failed": "",
-        "flags": {
-          "value": 50,
-          "string": "-O--CK ",
-          "prefailure": false,
-          "updated_online": true,
-          "performance": false,
-          "error_rate": false,
-          "event_count": true,
-          "auto_keep": true
-        },
-        "raw": {
-          "value": 18767,
-          "string": "18767"
-        }
-      }
-    ]
-  },
-  "power_on_time": {
-    "hours": 9521,
-    "minutes": 14
-  },
-  "power_cycle_count": 2072,
-  "temperature": {
-    "current": 36
-  }
-}

+ 0 - 459
DiskInfo/sdb.txt

@@ -1,459 +0,0 @@
-{
-  "json_format_version": [
-    1,
-    0
-  ],
-  "smartctl": {
-    "version": [
-      7,
-      0
-    ],
-    "svn_revision": "4883",
-    "platform_info": "x86_64-w64-mingw32-win7-sp1",
-    "build_info": "(sf-7.0-1)",
-    "argv": [
-      "smartctl",
-      "-i",
-      "/dev/sdb",
-      "-j",
-      "-A"
-    ],
-    "exit_status": 0
-  },
-  "device": {
-    "name": "/dev/sdb",
-    "info_name": "/dev/sdb",
-    "type": "ata",
-    "protocol": "ATA"
-  },
-  "model_family": "Western Digital Red",
-  "model_name": "WDC WD20EFRX-68EUZN0",
-  "serial_number": "WD-WCC4M7PLT66J",
-  "wwn": {
-    "naa": 5,
-    "oui": 5358,
-    "id": 10216012843
-  },
-  "firmware_version": "82.00A82",
-  "user_capacity": {
-    "blocks": 3907029168,
-    "bytes": 2000398934016
-  },
-  "logical_block_size": 512,
-  "physical_block_size": 4096,
-  "rotation_rate": 5400,
-  "in_smartctl_database": true,
-  "ata_version": {
-    "string": "ACS-2 (minor revision not indicated)",
-    "major_value": 1022,
-    "minor_value": 0
-  },
-  "sata_version": {
-    "string": "SATA 3.0",
-    "value": 62
-  },
-  "interface_speed": {
-    "max": {
-      "sata_value": 14,
-      "string": "6.0 Gb/s",
-      "units_per_second": 60,
-      "bits_per_unit": 100000000
-    },
-    "current": {
-      "sata_value": 3,
-      "string": "6.0 Gb/s",
-      "units_per_second": 60,
-      "bits_per_unit": 100000000
-    }
-  },
-  "local_time": {
-    "time_t": 1549797141,
-    "asctime": "Sun Feb 10 19:12:21 2019 CST"
-  },
-  "ata_smart_attributes": {
-    "revision": 16,
-    "table": [
-      {
-        "id": 1,
-        "name": "Raw_Read_Error_Rate",
-        "value": 200,
-        "worst": 200,
-        "thresh": 51,
-        "when_failed": "",
-        "flags": {
-          "value": 47,
-          "string": "POSR-K ",
-          "prefailure": true,
-          "updated_online": true,
-          "performance": true,
-          "error_rate": true,
-          "event_count": false,
-          "auto_keep": true
-        },
-        "raw": {
-          "value": 0,
-          "string": "0"
-        }
-      },
-      {
-        "id": 3,
-        "name": "Spin_Up_Time",
-        "value": 174,
-        "worst": 165,
-        "thresh": 21,
-        "when_failed": "",
-        "flags": {
-          "value": 39,
-          "string": "POS--K ",
-          "prefailure": true,
-          "updated_online": true,
-          "performance": true,
-          "error_rate": false,
-          "event_count": false,
-          "auto_keep": true
-        },
-        "raw": {
-          "value": 4300,
-          "string": "4300"
-        }
-      },
-      {
-        "id": 4,
-        "name": "Start_Stop_Count",
-        "value": 96,
-        "worst": 96,
-        "thresh": 0,
-        "when_failed": "",
-        "flags": {
-          "value": 50,
-          "string": "-O--CK ",
-          "prefailure": false,
-          "updated_online": true,
-          "performance": false,
-          "error_rate": false,
-          "event_count": true,
-          "auto_keep": true
-        },
-        "raw": {
-          "value": 4654,
-          "string": "4654"
-        }
-      },
-      {
-        "id": 5,
-        "name": "Reallocated_Sector_Ct",
-        "value": 200,
-        "worst": 200,
-        "thresh": 140,
-        "when_failed": "",
-        "flags": {
-          "value": 51,
-          "string": "PO--CK ",
-          "prefailure": true,
-          "updated_online": true,
-          "performance": false,
-          "error_rate": false,
-          "event_count": true,
-          "auto_keep": true
-        },
-        "raw": {
-          "value": 0,
-          "string": "0"
-        }
-      },
-      {
-        "id": 7,
-        "name": "Seek_Error_Rate",
-        "value": 200,
-        "worst": 200,
-        "thresh": 0,
-        "when_failed": "",
-        "flags": {
-          "value": 46,
-          "string": "-OSR-K ",
-          "prefailure": false,
-          "updated_online": true,
-          "performance": true,
-          "error_rate": true,
-          "event_count": false,
-          "auto_keep": true
-        },
-        "raw": {
-          "value": 0,
-          "string": "0"
-        }
-      },
-      {
-        "id": 9,
-        "name": "Power_On_Hours",
-        "value": 89,
-        "worst": 89,
-        "thresh": 0,
-        "when_failed": "",
-        "flags": {
-          "value": 50,
-          "string": "-O--CK ",
-          "prefailure": false,
-          "updated_online": true,
-          "performance": false,
-          "error_rate": false,
-          "event_count": true,
-          "auto_keep": true
-        },
-        "raw": {
-          "value": 8198,
-          "string": "8198"
-        }
-      },
-      {
-        "id": 10,
-        "name": "Spin_Retry_Count",
-        "value": 100,
-        "worst": 100,
-        "thresh": 0,
-        "when_failed": "",
-        "flags": {
-          "value": 50,
-          "string": "-O--CK ",
-          "prefailure": false,
-          "updated_online": true,
-          "performance": false,
-          "error_rate": false,
-          "event_count": true,
-          "auto_keep": true
-        },
-        "raw": {
-          "value": 0,
-          "string": "0"
-        }
-      },
-      {
-        "id": 11,
-        "name": "Calibration_Retry_Count",
-        "value": 100,
-        "worst": 100,
-        "thresh": 0,
-        "when_failed": "",
-        "flags": {
-          "value": 50,
-          "string": "-O--CK ",
-          "prefailure": false,
-          "updated_online": true,
-          "performance": false,
-          "error_rate": false,
-          "event_count": true,
-          "auto_keep": true
-        },
-        "raw": {
-          "value": 0,
-          "string": "0"
-        }
-      },
-      {
-        "id": 12,
-        "name": "Power_Cycle_Count",
-        "value": 98,
-        "worst": 98,
-        "thresh": 0,
-        "when_failed": "",
-        "flags": {
-          "value": 50,
-          "string": "-O--CK ",
-          "prefailure": false,
-          "updated_online": true,
-          "performance": false,
-          "error_rate": false,
-          "event_count": true,
-          "auto_keep": true
-        },
-        "raw": {
-          "value": 2679,
-          "string": "2679"
-        }
-      },
-      {
-        "id": 192,
-        "name": "Power-Off_Retract_Count",
-        "value": 200,
-        "worst": 200,
-        "thresh": 0,
-        "when_failed": "",
-        "flags": {
-          "value": 50,
-          "string": "-O--CK ",
-          "prefailure": false,
-          "updated_online": true,
-          "performance": false,
-          "error_rate": false,
-          "event_count": true,
-          "auto_keep": true
-        },
-        "raw": {
-          "value": 211,
-          "string": "211"
-        }
-      },
-      {
-        "id": 193,
-        "name": "Load_Cycle_Count",
-        "value": 195,
-        "worst": 195,
-        "thresh": 0,
-        "when_failed": "",
-        "flags": {
-          "value": 50,
-          "string": "-O--CK ",
-          "prefailure": false,
-          "updated_online": true,
-          "performance": false,
-          "error_rate": false,
-          "event_count": true,
-          "auto_keep": true
-        },
-        "raw": {
-          "value": 16219,
-          "string": "16219"
-        }
-      },
-      {
-        "id": 194,
-        "name": "Temperature_Celsius",
-        "value": 112,
-        "worst": 96,
-        "thresh": 0,
-        "when_failed": "",
-        "flags": {
-          "value": 34,
-          "string": "-O---K ",
-          "prefailure": false,
-          "updated_online": true,
-          "performance": false,
-          "error_rate": false,
-          "event_count": false,
-          "auto_keep": true
-        },
-        "raw": {
-          "value": 35,
-          "string": "35"
-        }
-      },
-      {
-        "id": 196,
-        "name": "Reallocated_Event_Count",
-        "value": 200,
-        "worst": 200,
-        "thresh": 0,
-        "when_failed": "",
-        "flags": {
-          "value": 50,
-          "string": "-O--CK ",
-          "prefailure": false,
-          "updated_online": true,
-          "performance": false,
-          "error_rate": false,
-          "event_count": true,
-          "auto_keep": true
-        },
-        "raw": {
-          "value": 0,
-          "string": "0"
-        }
-      },
-      {
-        "id": 197,
-        "name": "Current_Pending_Sector",
-        "value": 200,
-        "worst": 200,
-        "thresh": 0,
-        "when_failed": "",
-        "flags": {
-          "value": 50,
-          "string": "-O--CK ",
-          "prefailure": false,
-          "updated_online": true,
-          "performance": false,
-          "error_rate": false,
-          "event_count": true,
-          "auto_keep": true
-        },
-        "raw": {
-          "value": 0,
-          "string": "0"
-        }
-      },
-      {
-        "id": 198,
-        "name": "Offline_Uncorrectable",
-        "value": 100,
-        "worst": 253,
-        "thresh": 0,
-        "when_failed": "",
-        "flags": {
-          "value": 48,
-          "string": "----CK ",
-          "prefailure": false,
-          "updated_online": false,
-          "performance": false,
-          "error_rate": false,
-          "event_count": true,
-          "auto_keep": true
-        },
-        "raw": {
-          "value": 0,
-          "string": "0"
-        }
-      },
-      {
-        "id": 199,
-        "name": "UDMA_CRC_Error_Count",
-        "value": 200,
-        "worst": 200,
-        "thresh": 0,
-        "when_failed": "",
-        "flags": {
-          "value": 50,
-          "string": "-O--CK ",
-          "prefailure": false,
-          "updated_online": true,
-          "performance": false,
-          "error_rate": false,
-          "event_count": true,
-          "auto_keep": true
-        },
-        "raw": {
-          "value": 0,
-          "string": "0"
-        }
-      },
-      {
-        "id": 200,
-        "name": "Multi_Zone_Error_Rate",
-        "value": 100,
-        "worst": 253,
-        "thresh": 0,
-        "when_failed": "",
-        "flags": {
-          "value": 8,
-          "string": "---R-- ",
-          "prefailure": false,
-          "updated_online": false,
-          "performance": false,
-          "error_rate": true,
-          "event_count": false,
-          "auto_keep": false
-        },
-        "raw": {
-          "value": 0,
-          "string": "0"
-        }
-      }
-    ]
-  },
-  "power_on_time": {
-    "hours": 8198
-  },
-  "power_cycle_count": 2679,
-  "temperature": {
-    "current": 35
-  }
-}

+ 0 - 617
DiskInfo/sdc.txt

@@ -1,617 +0,0 @@
-{
-  "json_format_version": [
-    1,
-    0
-  ],
-  "smartctl": {
-    "version": [
-      7,
-      0
-    ],
-    "svn_revision": "4883",
-    "platform_info": "x86_64-w64-mingw32-win7-sp1",
-    "build_info": "(sf-7.0-1)",
-    "argv": [
-      "smartctl",
-      "-i",
-      "/dev/sdc",
-      "-j",
-      "-A"
-    ],
-    "exit_status": 0
-  },
-  "device": {
-    "name": "/dev/sdc",
-    "info_name": "/dev/sdc",
-    "type": "ata",
-    "protocol": "ATA"
-  },
-  "model_family": "Seagate Barracuda 7200.14 (AF)",
-  "model_name": "ST2000DM001-1CH164",
-  "serial_number": "Z1E99HMC",
-  "wwn": {
-    "naa": 5,
-    "oui": 3152,
-    "id": 2061669450
-  },
-  "firmware_version": "CC27",
-  "user_capacity": {
-    "blocks": 3907029168,
-    "bytes": 2000398934016
-  },
-  "logical_block_size": 512,
-  "physical_block_size": 4096,
-  "rotation_rate": 7200,
-  "form_factor": {
-    "ata_value": 2,
-    "name": "3.5 inches"
-  },
-  "in_smartctl_database": true,
-  "ata_version": {
-    "string": "ACS-2, ACS-3 T13/2161-D revision 3b",
-    "major_value": 1008,
-    "minor_value": 31
-  },
-  "sata_version": {
-    "string": "SATA 3.1",
-    "value": 126
-  },
-  "interface_speed": {
-    "max": {
-      "sata_value": 14,
-      "string": "6.0 Gb/s",
-      "units_per_second": 60,
-      "bits_per_unit": 100000000
-    },
-    "current": {
-      "sata_value": 3,
-      "string": "6.0 Gb/s",
-      "units_per_second": 60,
-      "bits_per_unit": 100000000
-    }
-  },
-  "local_time": {
-    "time_t": 1549797296,
-    "asctime": "Sun Feb 10 19:14:56 2019 CST"
-  },
-  "ata_smart_attributes": {
-    "revision": 10,
-    "table": [
-      {
-        "id": 1,
-        "name": "Raw_Read_Error_Rate",
-        "value": 115,
-        "worst": 99,
-        "thresh": 6,
-        "when_failed": "",
-        "flags": {
-          "value": 15,
-          "string": "POSR-- ",
-          "prefailure": true,
-          "updated_online": true,
-          "performance": true,
-          "error_rate": true,
-          "event_count": false,
-          "auto_keep": false
-        },
-        "raw": {
-          "value": 86025176,
-          "string": "86025176"
-        }
-      },
-      {
-        "id": 3,
-        "name": "Spin_Up_Time",
-        "value": 96,
-        "worst": 96,
-        "thresh": 0,
-        "when_failed": "",
-        "flags": {
-          "value": 3,
-          "string": "PO---- ",
-          "prefailure": true,
-          "updated_online": true,
-          "performance": false,
-          "error_rate": false,
-          "event_count": false,
-          "auto_keep": false
-        },
-        "raw": {
-          "value": 0,
-          "string": "0"
-        }
-      },
-      {
-        "id": 4,
-        "name": "Start_Stop_Count",
-        "value": 96,
-        "worst": 96,
-        "thresh": 20,
-        "when_failed": "",
-        "flags": {
-          "value": 50,
-          "string": "-O--CK ",
-          "prefailure": false,
-          "updated_online": true,
-          "performance": false,
-          "error_rate": false,
-          "event_count": true,
-          "auto_keep": true
-        },
-        "raw": {
-          "value": 4370,
-          "string": "4370"
-        }
-      },
-      {
-        "id": 5,
-        "name": "Reallocated_Sector_Ct",
-        "value": 100,
-        "worst": 100,
-        "thresh": 10,
-        "when_failed": "",
-        "flags": {
-          "value": 51,
-          "string": "PO--CK ",
-          "prefailure": true,
-          "updated_online": true,
-          "performance": false,
-          "error_rate": false,
-          "event_count": true,
-          "auto_keep": true
-        },
-        "raw": {
-          "value": 0,
-          "string": "0"
-        }
-      },
-      {
-        "id": 7,
-        "name": "Seek_Error_Rate",
-        "value": 80,
-        "worst": 60,
-        "thresh": 30,
-        "when_failed": "",
-        "flags": {
-          "value": 15,
-          "string": "POSR-- ",
-          "prefailure": true,
-          "updated_online": true,
-          "performance": true,
-          "error_rate": true,
-          "event_count": false,
-          "auto_keep": false
-        },
-        "raw": {
-          "value": 110215814,
-          "string": "110215814"
-        }
-      },
-      {
-        "id": 9,
-        "name": "Power_On_Hours",
-        "value": 88,
-        "worst": 88,
-        "thresh": 0,
-        "when_failed": "",
-        "flags": {
-          "value": 50,
-          "string": "-O--CK ",
-          "prefailure": false,
-          "updated_online": true,
-          "performance": false,
-          "error_rate": false,
-          "event_count": true,
-          "auto_keep": true
-        },
-        "raw": {
-          "value": 11192,
-          "string": "11192"
-        }
-      },
-      {
-        "id": 10,
-        "name": "Spin_Retry_Count",
-        "value": 100,
-        "worst": 100,
-        "thresh": 97,
-        "when_failed": "",
-        "flags": {
-          "value": 19,
-          "string": "PO--C- ",
-          "prefailure": true,
-          "updated_online": true,
-          "performance": false,
-          "error_rate": false,
-          "event_count": true,
-          "auto_keep": false
-        },
-        "raw": {
-          "value": 0,
-          "string": "0"
-        }
-      },
-      {
-        "id": 12,
-        "name": "Power_Cycle_Count",
-        "value": 98,
-        "worst": 98,
-        "thresh": 20,
-        "when_failed": "",
-        "flags": {
-          "value": 50,
-          "string": "-O--CK ",
-          "prefailure": false,
-          "updated_online": true,
-          "performance": false,
-          "error_rate": false,
-          "event_count": true,
-          "auto_keep": true
-        },
-        "raw": {
-          "value": 2669,
-          "string": "2669"
-        }
-      },
-      {
-        "id": 183,
-        "name": "Runtime_Bad_Block",
-        "value": 100,
-        "worst": 100,
-        "thresh": 0,
-        "when_failed": "",
-        "flags": {
-          "value": 50,
-          "string": "-O--CK ",
-          "prefailure": false,
-          "updated_online": true,
-          "performance": false,
-          "error_rate": false,
-          "event_count": true,
-          "auto_keep": true
-        },
-        "raw": {
-          "value": 0,
-          "string": "0"
-        }
-      },
-      {
-        "id": 184,
-        "name": "End-to-End_Error",
-        "value": 100,
-        "worst": 100,
-        "thresh": 99,
-        "when_failed": "",
-        "flags": {
-          "value": 50,
-          "string": "-O--CK ",
-          "prefailure": false,
-          "updated_online": true,
-          "performance": false,
-          "error_rate": false,
-          "event_count": true,
-          "auto_keep": true
-        },
-        "raw": {
-          "value": 0,
-          "string": "0"
-        }
-      },
-      {
-        "id": 187,
-        "name": "Reported_Uncorrect",
-        "value": 100,
-        "worst": 100,
-        "thresh": 0,
-        "when_failed": "",
-        "flags": {
-          "value": 50,
-          "string": "-O--CK ",
-          "prefailure": false,
-          "updated_online": true,
-          "performance": false,
-          "error_rate": false,
-          "event_count": true,
-          "auto_keep": true
-        },
-        "raw": {
-          "value": 0,
-          "string": "0"
-        }
-      },
-      {
-        "id": 188,
-        "name": "Command_Timeout",
-        "value": 100,
-        "worst": 100,
-        "thresh": 0,
-        "when_failed": "",
-        "flags": {
-          "value": 50,
-          "string": "-O--CK ",
-          "prefailure": false,
-          "updated_online": true,
-          "performance": false,
-          "error_rate": false,
-          "event_count": true,
-          "auto_keep": true
-        },
-        "raw": {
-          "value": 0,
-          "string": "0 0 0"
-        }
-      },
-      {
-        "id": 189,
-        "name": "High_Fly_Writes",
-        "value": 99,
-        "worst": 99,
-        "thresh": 0,
-        "when_failed": "",
-        "flags": {
-          "value": 58,
-          "string": "-O-RCK ",
-          "prefailure": false,
-          "updated_online": true,
-          "performance": false,
-          "error_rate": true,
-          "event_count": true,
-          "auto_keep": true
-        },
-        "raw": {
-          "value": 1,
-          "string": "1"
-        }
-      },
-      {
-        "id": 190,
-        "name": "Airflow_Temperature_Cel",
-        "value": 64,
-        "worst": 49,
-        "thresh": 45,
-        "when_failed": "",
-        "flags": {
-          "value": 34,
-          "string": "-O---K ",
-          "prefailure": false,
-          "updated_online": true,
-          "performance": false,
-          "error_rate": false,
-          "event_count": false,
-          "auto_keep": true
-        },
-        "raw": {
-          "value": 622985252,
-          "string": "36 (Min/Max 34/37)"
-        }
-      },
-      {
-        "id": 191,
-        "name": "G-Sense_Error_Rate",
-        "value": 100,
-        "worst": 100,
-        "thresh": 0,
-        "when_failed": "",
-        "flags": {
-          "value": 50,
-          "string": "-O--CK ",
-          "prefailure": false,
-          "updated_online": true,
-          "performance": false,
-          "error_rate": false,
-          "event_count": true,
-          "auto_keep": true
-        },
-        "raw": {
-          "value": 0,
-          "string": "0"
-        }
-      },
-      {
-        "id": 192,
-        "name": "Power-Off_Retract_Count",
-        "value": 100,
-        "worst": 100,
-        "thresh": 0,
-        "when_failed": "",
-        "flags": {
-          "value": 50,
-          "string": "-O--CK ",
-          "prefailure": false,
-          "updated_online": true,
-          "performance": false,
-          "error_rate": false,
-          "event_count": true,
-          "auto_keep": true
-        },
-        "raw": {
-          "value": 246,
-          "string": "246"
-        }
-      },
-      {
-        "id": 193,
-        "name": "Load_Cycle_Count",
-        "value": 50,
-        "worst": 50,
-        "thresh": 0,
-        "when_failed": "",
-        "flags": {
-          "value": 50,
-          "string": "-O--CK ",
-          "prefailure": false,
-          "updated_online": true,
-          "performance": false,
-          "error_rate": false,
-          "event_count": true,
-          "auto_keep": true
-        },
-        "raw": {
-          "value": 101342,
-          "string": "101342"
-        }
-      },
-      {
-        "id": 194,
-        "name": "Temperature_Celsius",
-        "value": 36,
-        "worst": 51,
-        "thresh": 0,
-        "when_failed": "",
-        "flags": {
-          "value": 34,
-          "string": "-O---K ",
-          "prefailure": false,
-          "updated_online": true,
-          "performance": false,
-          "error_rate": false,
-          "event_count": false,
-          "auto_keep": true
-        },
-        "raw": {
-          "value": 42949672996,
-          "string": "36 (0 10 0 0 0)"
-        }
-      },
-      {
-        "id": 197,
-        "name": "Current_Pending_Sector",
-        "value": 100,
-        "worst": 100,
-        "thresh": 0,
-        "when_failed": "",
-        "flags": {
-          "value": 18,
-          "string": "-O--C- ",
-          "prefailure": false,
-          "updated_online": true,
-          "performance": false,
-          "error_rate": false,
-          "event_count": true,
-          "auto_keep": false
-        },
-        "raw": {
-          "value": 0,
-          "string": "0"
-        }
-      },
-      {
-        "id": 198,
-        "name": "Offline_Uncorrectable",
-        "value": 100,
-        "worst": 100,
-        "thresh": 0,
-        "when_failed": "",
-        "flags": {
-          "value": 16,
-          "string": "----C- ",
-          "prefailure": false,
-          "updated_online": false,
-          "performance": false,
-          "error_rate": false,
-          "event_count": true,
-          "auto_keep": false
-        },
-        "raw": {
-          "value": 0,
-          "string": "0"
-        }
-      },
-      {
-        "id": 199,
-        "name": "UDMA_CRC_Error_Count",
-        "value": 200,
-        "worst": 200,
-        "thresh": 0,
-        "when_failed": "",
-        "flags": {
-          "value": 62,
-          "string": "-OSRCK ",
-          "prefailure": false,
-          "updated_online": true,
-          "performance": true,
-          "error_rate": true,
-          "event_count": true,
-          "auto_keep": true
-        },
-        "raw": {
-          "value": 0,
-          "string": "0"
-        }
-      },
-      {
-        "id": 240,
-        "name": "Head_Flying_Hours",
-        "value": 100,
-        "worst": 253,
-        "thresh": 0,
-        "when_failed": "",
-        "flags": {
-          "value": 0,
-          "string": "------ ",
-          "prefailure": false,
-          "updated_online": false,
-          "performance": false,
-          "error_rate": false,
-          "event_count": false,
-          "auto_keep": false
-        },
-        "raw": {
-          "value": 12602821320906682,
-          "string": "6074h+48m+54.323s"
-        }
-      },
-      {
-        "id": 241,
-        "name": "Total_LBAs_Written",
-        "value": 100,
-        "worst": 253,
-        "thresh": 0,
-        "when_failed": "",
-        "flags": {
-          "value": 0,
-          "string": "------ ",
-          "prefailure": false,
-          "updated_online": false,
-          "performance": false,
-          "error_rate": false,
-          "event_count": false,
-          "auto_keep": false
-        },
-        "raw": {
-          "value": 36524852004,
-          "string": "36524852004"
-        }
-      },
-      {
-        "id": 242,
-        "name": "Total_LBAs_Read",
-        "value": 100,
-        "worst": 253,
-        "thresh": 0,
-        "when_failed": "",
-        "flags": {
-          "value": 0,
-          "string": "------ ",
-          "prefailure": false,
-          "updated_online": false,
-          "performance": false,
-          "error_rate": false,
-          "event_count": false,
-          "auto_keep": false
-        },
-        "raw": {
-          "value": 51255764039,
-          "string": "51255764039"
-        }
-      }
-    ]
-  },
-  "power_on_time": {
-    "hours": 11192
-  },
-  "power_cycle_count": 2669,
-  "temperature": {
-    "current": 36
-  }
-}

BIN
DiskInfo/smartctl_i386


BIN
DiskInfo/smartctl_x86_64