utilpeek: read NVMe SMART wear and data written, not just PASSED
check_ssd_healthutilpeek: Check an SSD's wear from smartctl or nvme smart-log. Returns SSD wear from smartctl or nvme smart-log text/JSON: percentage used (can pass the full rated endurance), host TB written (NVMe data units × 512,000 bytes / 10^12), optional rated-TBW share and gap, spare vs threshold, warnings, errors, shutdowns and hours, with an ok / worn / failing verdict and reasons. Only the pasted report is read; no commands run or network calls. SMART PASSED does not rule out failure; SATA wear is vendor-specific. Invalid reports/ratings: 422, not charged. Shares the utilpeek free pool. Typically under 0.1 s. Price: USD 0.002. Free: 10 utilpeek calls per IP per UTC day. The submitted text is never logged or stored.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| report | Yes | smartctl -a/-j or nvme smart-log text or JSON. No commands run or URLs fetched. | |
| rated_tbw | No | Optional maker's rated endurance in decimal TB written (TBW). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | ||
| note | No | ||
| error | No | Only on an error result: an object {code, message}, or the reason string of an x402 PaymentRequired object. | |
| level | No | ||
| notes | No | ||
| source | No | ||
| pending | No | ||
| reasons | No | ||
| verdict | No | ||
| headline | No | ||
| life_left | No | ||
| rated_tbw | No | ||
| tb_written | No | ||
| reallocated | No | ||
| media_errors | No | ||
| percent_used | No | ||
| bytes_written | No | ||
| uncorrectable | No | ||
| power_on_hours | No | ||
| tbw_gap_points | No | ||
| wear_attribute | No | ||
| available_spare | No | ||
| spare_threshold | No | ||
| critical_warning | No | ||
| unsafe_shutdowns | No | ||
| error_log_entries | No | ||
| data_units_written | No | ||
| rated_tbw_share_pct | No |