smartmontools  SVN Rev 4335
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 ()
 
- Public Member Functions inherited from persistent_dev_state
 persistent_dev_state ()
 
- Public Member Functions inherited from temp_dev_state
 temp_dev_state ()
 

Additional Inherited Members

- Public Attributes inherited from persistent_dev_state
unsigned char tempmin
 
unsigned char tempmax
 
unsigned char selflogcount
 
unsigned short 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 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 powermodefail
 
int powerskipcnt
 
int lastpowermodeskipped
 
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
 

Detailed Description

Runtime state data for a device.

Definition at line 485 of file smartd.cpp.

Member Function Documentation

void dev_state::update_persistent_state ( )

Definition at line 500 of file smartd.cpp.

void dev_state::update_temp_state ( )

Definition at line 523 of file smartd.cpp.


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