Sindbad~EG File Manager

Current Path : /lib/python3.6/site-packages/sos/report/plugins/__pycache__/
Upload File :
Current File : //lib/python3.6/site-packages/sos/report/plugins/__pycache__/nvme.cpython-36.opt-1.pyc

3

�f��@s&ddlmZmZGdd�dee�ZdS)�)�Plugin�IndependentPluginc@s,eZdZdZdZdZd
ZdZdZdd�Z	d	S)
�NvmeaCollects nvme device configuration information for each nvme device that
    is installed on the system.

    Basic information is collected via the `smartctl` utility, however detailed
    information will be collected via the `nvme` CLI if the `nvme-cli` package
    is installed.
    zNVMe device information�nvme�storage�nvme-cli�	nvme_corec
CsL|jddddg�|jddg�ddd	d
ddd
dddg
}|j|ddd�dS)Nz/etc/nvme/*z!/sys/class/nvme-fabrics/ctl/nvme*z(/sys/class/nvme-subsystem/nvme-subsys*/*z"/sys/module/nvme_core/parameters/*z	nvme listznvme list-subsyszsmartctl --all %(dev)szsmartctl --all %(dev)s -jznvme list-ns %(dev)sznvme fw-log %(dev)sznvme list-ctrl %(dev)sznvme id-ctrl -H %(dev)sznvme id-ns -H %(dev)sznvme smart-log %(dev)sznvme error-log %(dev)sznvme show-regs %(dev)s�blockznvme.*)ZdevicesZ	whitelist)Z
add_copy_specZadd_cmd_outputZadd_device_cmd)�selfZcmds�r�/usr/lib/python3.6/nvme.py�setups&z
Nvme.setupN)r)r)rr)
�__name__�
__module__�__qualname__�__doc__Z
short_descZplugin_nameZprofilesZpackagesZkernel_modsr
rrrrrsrN)Zsos.report.pluginsrrrrrrr�<module>	s

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists