NvmeAttributes class
- class diskinfo.NvmeAttributes(critical_warning, temperature, available_spare, available_spare_threshold, percentage_used, data_units_read, data_units_written, host_read_commands, host_write_commands, controller_busy_time, power_cycles, power_on_hours, unsafe_shutdowns, media_and_data_integrity_errors, error_information_log_entries, warning_composite_temperature_time, critical_composite_temperature_time)[source]
This class implements NVME attributes. Read more about NVME attributes:
- Parameters:
critical_warning (int)
temperature (int)
available_spare (int)
available_spare_threshold (int)
percentage_used (int)
data_units_read (int)
data_units_written (int)
host_read_commands (int)
host_write_commands (int)
controller_busy_time (int)
power_cycles (int)
power_on_hours (int)
unsafe_shutdowns (int)
media_and_data_integrity_errors (int)
error_information_log_entries (int)
warning_composite_temperature_time (int)
critical_composite_temperature_time (int)
- available_spare: int
Contains a normalized percentage (0% to 100%) of the remaining spare capacity available.
- available_spare_threshold: int
When the Available Spare falls below the threshold indicated in this field, an asynchronous event completion may occur. The value is indicated as a normalized percentage (0% to 100%).
- controller_busy_time: int
Contains the amount of time (in minutes) the controller is busy with I/O commands.
- critical_composite_temperature_time: int
Contains the amount of time in minutes that the controller is operational and the Composite Temperature is greater than or equal to the Critical Composite Temperature Threshold.
- data_units_read: int
Contains the number of 512-byte blocks the host has read from the NVME controller. The value is reported in thousands (i.e. 1 means 1000 units of 512-byte blocks) and rounded up. Value 0 means that this attribute is not reported.
- data_units_written: int
Contains the number of 512-byte blocks the host has written to the NVME controller. The value is reported in thousands (i.e. 1 means 1000 units of 512-byte blocks) and rounded up. Value 0 means that this attribute is not reported.
- error_information_log_entries: int
Contains the number of Error Information log entries over the life of the controller.
- media_and_data_integrity_errors: int
Contains the number of occurrences where the controller detected an unrecovered data integrity error.
- percentage_used: int
Contains a vendor specific estimate of the percentage of NVM subsystem life used based on the actual usage and the manufacturer’s prediction of NVM life. A value of 100 indicates that the estimated endurance of the NVM in the NVM subsystem has been consumed, but may not indicate an NVM subsystem failure.