HEX
Server: Apache/2.4.62 (Unix) OpenSSL/1.1.1k
System: Linux ns565604.ip-54-39-133.net 4.18.0-553.50.1.el8_10.x86_64 #1 SMP Tue Apr 15 08:09:22 EDT 2025 x86_64
User: greer489 (1034)
PHP: 8.3.19
Disabled: NONE
Upload Files
File: //lib/python3.6/site-packages/sos/report/plugins/__pycache__/nvme.cpython-36.pyc
3

-�_g��@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