On 4 Nov 2023, at 22:50, Javier Perez <pepebuho@gmail.com> wrote:

246 Total_LBAs_Written      0x0032   100   100   000    Old_age   Always       -       23588083829

From that counter you can calculate the total number of bytes written.
If you know the drive spec for endurance total bytes written before the drive fails then you can estimate the amount of drive life used.
Beware of SSD models that do not provide that figure in their specs.

For example https://semiconductor.samsung.com/consumer-storage/internal-ssd/870evo/
Lists the figures in the warranty section of the specification.

Barry