o
    O6ufø  ã                   @   s&   d dl mZmZ G dd„ deeƒZdS )é    )ÚPluginÚIndependentPluginc                   @   s$   e Zd ZdZdZdZdZdd„ ZdS )ÚAtazATA and IDE informationÚata)ÚstorageÚhardware)ÚhdparmÚsmartmontoolsc                 C   s*   |   d¡ g d¢}| j|dddgd� d S )Nz	/proc/ide)zhdparm %(dev)szsmartctl -a %(dev)szsmartctl -a %(dev)s -jzsmartctl -l scterc %(dev)szsmartctl -l scterc %(dev)s -jÚblockzsd.*zhd.*)ÚdevicesÚ	whitelist)Úadd_copy_specÚadd_device_cmd)ÚselfÚcmd_list© r   ú8/usr/lib/python3/dist-packages/sos/report/plugins/ata.pyÚsetup   s
   

ÿz	Ata.setupN)Ú__name__Ú
__module__Ú__qualname__Ú
short_descÚplugin_nameÚprofilesÚpackagesr   r   r   r   r   r      s    r   N)Úsos.report.pluginsr   r   r   r   r   r   r   Ú<module>   s   