smartmontools SVN Rev 5640
Utility to control and monitor storage systems with "S.M.A.R.T."
Public Member Functions | List of all members
dev_state Struct Reference

Runtime state data for a device. More...

Collaboration diagram for dev_state:
Collaboration graph
[legend]

Public Member Functions

void update_persistent_state ()
 
void update_temp_state ()
 

Additional Inherited Members

- Public Attributes inherited from persistent_dev_state
unsigned char tempmin {}
 
unsigned char tempmax {}
 
unsigned char selflogcount {}
 
uint64_t selfloghour {}
 
time_t scheduled_test_next_check {}
 
uint64_t selective_test_last_start {}
 
uint64_t selective_test_last_end {}
 
mailinfo maillog [SMARTD_NMAIL]
 
int ataerrorcount {}
 
ata_attribute ata_attributes [NUMBER_ATA_SMART_ATTRIBUTES]
 
scsi_error_counter_t scsi_error_counters [3]
 
scsi_nonmedium_error_t scsi_nonmedium_error
 
uint64_t nvme_err_log_entries {}
 
- Public Attributes inherited from temp_dev_state
bool must_write {}
 
bool skip {}
 
time_t wakeuptime {}
 
bool not_cap_offline {}
 
bool not_cap_conveyance {}
 
bool not_cap_short {}
 
bool not_cap_long {}
 
bool not_cap_selective {}
 
unsigned char temperature {}
 
time_t tempmin_delay {}
 
bool removed {}
 
bool powermodefail {}
 
int powerskipcnt {}
 
int lastpowermodeskipped {}
 
bool attrlog_dirty {}
 
unsigned char SmartPageSupported {}
 
unsigned char TempPageSupported {}
 
unsigned char ReadECounterPageSupported {}
 
unsigned char WriteECounterPageSupported {}
 
unsigned char VerifyECounterPageSupported {}
 
unsigned char NonMediumErrorPageSupported {}
 
unsigned char SuppressReport {}
 
unsigned char modese_len {}
 
uint64_t num_sectors {}
 
ata_smart_values smartval {}
 
ata_smart_thresholds_pvt smartthres {}
 
bool offline_started {}
 
bool selftest_started {}
 
uint8_t selftest_op {}
 
uint8_t selftest_compl {}
 

Detailed Description

Runtime state data for a device.

Definition at line 571 of file smartd.cpp.

Member Function Documentation

◆ update_persistent_state()

void dev_state::update_persistent_state ( )

Definition at line 586 of file smartd.cpp.

◆ update_temp_state()

void dev_state::update_temp_state ( )

Definition at line 609 of file smartd.cpp.


The documentation for this struct was generated from the following file: