pub struct NVMeSMARTMetrics {Show 23 fields
pub available_spare_percent: Option<f64>,
pub available_spare_threshold_percent: Option<f64>,
pub composite_temperature_celsius: Option<f64>,
pub controller_busy_time_minutes: Option<i64>,
pub critical_composite_temp_time_minutes: Option<i64>,
pub critical_warnings: Option<NVMeSMARTCriticalWarnings>,
pub data_units_read: Option<i64>,
pub data_units_written: Option<i64>,
pub eg_critical_warning_summary: Option<EGCriticalWarningSummary>,
pub host_read_commands: Option<i64>,
pub host_write_commands: Option<i64>,
pub media_and_data_integrity_errors: Option<i64>,
pub number_of_error_information_log_entries: Option<i64>,
pub percentage_used: Option<f64>,
pub power_cycles: Option<i64>,
pub power_on_hours: Option<f64>,
pub temperature_sensors_celsius: Option<Vec<f64>>,
pub thermal_mgmt_temp_1t_time_seconds: Option<i64>,
pub thermal_mgmt_temp_1t_count: Option<i64>,
pub thermal_mgmt_temp_2t_time_seconds: Option<i64>,
pub thermal_mgmt_temp_2t_count: Option<i64>,
pub unsafe_shutdowns: Option<i64>,
pub warning_composite_temp_time_minutes: Option<i64>,
}
Expand description
The NVMe SMART metrics.
Fields§
§available_spare_percent: Option<f64>
The normalized percentage of the remaining spare capacity available.
available_spare_threshold_percent: Option<f64>
The available spare threshold as a normalized percentage.
composite_temperature_celsius: Option<f64>
The composite temperature in degrees Celsius for this storage controller.
controller_busy_time_minutes: Option<i64>
The total time the controller is busy with I/O commands in minutes.
critical_composite_temp_time_minutes: Option<i64>
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.
critical_warnings: Option<NVMeSMARTCriticalWarnings>
§data_units_read: Option<i64>
The number of 512 byte data units the host has read from the controller as part of processing a SMART Data Units Read Command in units of one thousand.
data_units_written: Option<i64>
The number of 512 byte data units the host has written to the controller as part of processing a User Data Out Command in units of one thousand.
eg_critical_warning_summary: Option<EGCriticalWarningSummary>
§host_read_commands: Option<i64>
The number of SMART Host Read Commands completed by the controller.
host_write_commands: Option<i64>
The number of User Data Out Commands completed by the controller.
media_and_data_integrity_errors: Option<i64>
The number of occurrences where the controller detected an unrecovered data integrity error.
number_of_error_information_log_entries: Option<i64>
The number of error information log entries over the life of the controller.
percentage_used: Option<f64>
The percentage of the NVM subsystem life used.
power_cycles: Option<i64>
The number of power cycles.
power_on_hours: Option<f64>
The number of power-on hours.
temperature_sensors_celsius: Option<Vec<f64>>
The temperature sensor readings in degrees Celsius for this storage controller.
thermal_mgmt_temp_1t_time_seconds: Option<i64>
The number of seconds the controller transitioned to lower power states or performed vendor-specific thermal management actions while minimizing the impact on performance in order to attempt to reduce the composite temperature.
thermal_mgmt_temp_1t_count: Option<i64>
The number of times the controller transitioned to lower power states or performed vendor-specific thermal management actions while minimizing the impact on performance in order to attempt to reduce the composite temperature.
thermal_mgmt_temp_2t_time_seconds: Option<i64>
The number of seconds the controller transitioned to lower power states or performed vendor-specific thermal management actions regardless of the impact on performance in order to attempt to reduce the composite temperature.
thermal_mgmt_temp_2t_count: Option<i64>
The number of times the controller transitioned to lower power states or performed vendor-specific thermal management actions regardless of the impact on performance in order to attempt to reduce the composite temperature.
unsafe_shutdowns: Option<i64>
The number of unsafe shutdowns.
warning_composite_temp_time_minutes: Option<i64>
The amount of time in minutes that the controller is operational and the composite temperature is greater than or equal to the warning composite temperature threshold.
Trait Implementations§
Source§impl Clone for NVMeSMARTMetrics
impl Clone for NVMeSMARTMetrics
Source§fn clone(&self) -> NVMeSMARTMetrics
fn clone(&self) -> NVMeSMARTMetrics
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
source
. Read more