HEX
Server: Apache
System: Linux scp1.abinfocom.com 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User: confeduphaar (1010)
PHP: 8.1.33
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //usr/lib/python3/dist-packages/sos/report/plugins/__pycache__/nvme.cpython-38.pyc
U

i��d&�@s&ddlmZmZGdd�dee�ZdS)�)�Plugin�IndependentPluginc@s,eZdZdZdZdZdZdZdZdd�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)Zstorage)znvme-cli)rZ	nvme_corec
CsD|�d�|�ddg�dddddd	d
ddd
g
}|j|ddd�dS)Nz/etc/nvme/*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�9/usr/lib/python3/dist-packages/sos/report/plugins/nvme.py�setups"
��z
Nvme.setupN)
�__name__�
__module__�__qualname__�__doc__Z
short_descZplugin_nameZprofilesZpackagesZkernel_modsr
rrrr	rsrN)Zsos.report.pluginsrrrrrrr	�<module>	s