a >h@s&ddlmZmZGdddeeZdS))PluginIndependentPluginc@s,eZdZdZdZdZdZdZdZddZ 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 informationnvme)Zstorage)znvme-cli)rZ nvme_corecCs8|gd|ddggd}|j|ddddS)N)z /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-subsys) zsmartctl --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)sblockznvme.*)ZdevicesZ whitelist)Z add_copy_specZadd_cmd_outputZadd_device_cmd)selfZcmdsr;/usr/lib/python3.9/site-packages/sos/report/plugins/nvme.pysetups z Nvme.setupN) __name__ __module__ __qualname____doc__Z short_descZ plugin_nameZprofilesZpackagesZ kernel_modsr rrrr r srN)Zsos.report.pluginsrrrrrrr  s