Added wear level percentage to the SMART report

This commit is contained in:
Andrea Mazzoleni 2026-01-19 22:57:53 +01:00
parent e99f43c8ca
commit ede99cbe80
7 changed files with 91 additions and 12 deletions

View file

@ -1640,6 +1640,23 @@ The total error count (uint).
.PD
.RE
.TP
.B attr:<device_file>:<disk_name>[/<split_index>]:wear_level:<percentage>
The wear level of the SSD/NVME expressed as a percentage, where a
value of 0 represents a brand new drive with zero wear and
a value of 100 indicates the drive has reached or exceeded its
manufacturer\-rated design life. This metric is provided as a
normalized unsigned integer, offering a consistent health
indicator across various SSD/NVME vendors and interface types
by mapping diverse hardware counters into a single
standardized scale.
.RS 4
.PD 0
.HP 4
.I <percentage>
Wear level percentage (uint).
.PD
.RE
.TP
.B attr:<device_file>:<disk_name>[/<split_index>]:rotationrate:<rate>
Logs the disk\'s rotation rate.
.RS 4