Files
python-pySMART/README.md

12 lines
740 B
Markdown

# python-pySMART
URL: [pySMART](https://pypi.org/project/pySMART/)
----
https://github.com/truenas/py-SMART
pySMART is a simple Python wrapper for the smartctl component of smartmontools. It is officially compatible with Linux, Windows and FreeBSD, as long as smartctl is on the system path. Running with administrative rights is strongly recommended, as smartctl cannot accurately detect all device types or parse all SMART information without these permissions.
With only a device's name (ie: /dev/sda, pd0), the package will create a Device object, populated with all relevant information about that device. The documented API can then be used to query this object for information, initiate self-tests, and perform other functions.