|
OpenMediaVault
0.6 (Kralizec)
The open network attached storage solution
|
Public Member Functions | |
| __construct ($deviceFile, $type) | |
| refresh () | |
| getExtendedInformation () | |
| getAttributes () | |
| getSelfTestLogs () | |
| getInformation () | |
| getTemperature () | |
Public Member Functions inherited from OMVObject | |
| __construct () | |
| getLastError () | |
Protected Attributes | |
| $deviceFile = "" | |
| $type = "" | |
Additional Inherited Members | |
Protected Member Functions inherited from OMVObject | |
| setLastError ($error) | |
| debug () | |
This class implements methods to get and process S.M.A.R.T. AT Attachment (ATA) information and properties.
| OMVATASMARTInformation::__construct | ( | $deviceFile, | |
| $type | |||
| ) |
Constructor
| deviceFile | Specifies the device file, e.g.
|
| type | Specifies the type of the device, e.g. ata, cciss or 3ware. |
| OMVATASMARTInformation::getAttributes | ( | ) |
Get the S.M.A.R.T. attributes data structure.
| OMVATASMARTInformation::getExtendedInformation | ( | ) |
Get the plain text 'smartctl' command output.
| OMVATASMARTInformation::getInformation | ( | ) |
Get various device information.
| OMVATASMARTInformation::getSelfTestLogs | ( | ) |
Get the S.M.A.R.T. Self-test log structure.
| OMVATASMARTInformation::getTemperature | ( | ) |
Get the device temperature in °C (value only, no unit).
| OMVATASMARTInformation::refresh | ( | ) |
Refresh the cached information.
1.8.6