smartmontools  SVN Rev 4130
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

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 scsi_error_counters [3]
scsi_nonmedium_error scsi_nonmedium_error
- 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
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 481 of file smartd.cpp.

Member Function Documentation

void dev_state::update_persistent_state ( )

Definition at line 496 of file smartd.cpp.

void dev_state::update_temp_state ( )

Definition at line 519 of file smartd.cpp.

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