BlockDev.SmartATAAttribute

Fields

Name

Type

Access

Description

failed_past

bool

r/w

Indicates a failure that happened in the past (the normalized worst value is below the threshold).

failing_now

bool

r/w

Indicates a failure that is happening now (the normalized value is below the threshold).

flags

int

r/w

Bitmask of attribute flags. See BlockDev.SmartATAAttributeFlag.

id

int

r/w

Attribute Identifier.

name

str

r/w

A free-form representation of the attribute name, implementation-dependent (e.g. libatasmart internal strings or smartmontools’ drivedb.h names).

pretty_value

int

r/w

Numerical representation of the parsed raw value, presented in pretty_value_unit units.

pretty_value_string

str

r/w

A free-form string representation of the raw value intended for user presentation or None.

pretty_value_unit

BlockDev.SmartATAAttributeUnit

r/w

The unit of the parsed raw value.

threshold

int

r/w

The threshold of a normalized value or -1 if unknown.

value

int

r/w

The normalized value or -1 if unknown.

value_raw

int

r/w

The raw value of the attribute.

well_known_name

str

r/w

Translated well-known attribute name (in libatasmart style, e.g. ‘raw-read-error-rate’) or None in case of unknown, untrusted or vendor-specific value.

worst

int

r/w

The worst normalized value of -1 if unknown.

Methods

None

Details

class BlockDev.SmartATAAttribute