[GH-ISSUE #22] Add calculation helper for data_units_read and data_units_written for NVMe drives? #3

Closed
opened 2026-03-07 19:21:57 +03:00 by kerem · 2 comments
Owner

Originally created by @jerryhze on GitHub (Aug 5, 2025).
Original GitHub issue: https://github.com/007revad/Synology_SMART_info/issues/22

Currently the output shows the raw number and not human readable. Is it possible to add a conversion to GB or TB read and written?

Originally created by @jerryhze on GitHub (Aug 5, 2025). Original GitHub issue: https://github.com/007revad/Synology_SMART_info/issues/22 Currently the output shows the raw number and not human readable. Is it possible to add a conversion to GB or TB read and written?
kerem 2026-03-07 19:21:57 +03:00
Author
Owner

@007revad commented on GitHub (Aug 31, 2025):

It seems like all NVMe brands use 512 byte data for units read and written.

I don't want to change the existing data_units_read and data_units_written because it's "data units"... but I could append "(### TB)" to end of the data_units_read and data_units_written lines like:

data_units_read                     : 13,056,253  (6.6MB)
data_units_written                  : 13,116,807  (6.6MB)
<!-- gh-comment-id:3239625678 --> @007revad commented on GitHub (Aug 31, 2025): It seems like all NVMe brands use 512 byte data for units read and written. I don't want to change the existing data_units_read and data_units_written because it's "data units"... but I could append "(### TB)" to end of the data_units_read and data_units_written lines like: ``` data_units_read : 13,056,253 (6.6MB) data_units_written : 13,116,807 (6.6MB) ```
Author
Owner

@007revad commented on GitHub (Sep 6, 2025):

Added in https://github.com/007revad/Synology_SMART_info/releases/tag/v1.3.16

<!-- gh-comment-id:3261148671 --> @007revad commented on GitHub (Sep 6, 2025): Added in https://github.com/007revad/Synology_SMART_info/releases/tag/v1.3.16
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Synology_SMART_info#3
No description provided.