o id&@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)storage)znvme-cli)r nvme_corecCs4|d|ddggd}|j|ddddS)Nz /etc/nvme/*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.*)devices whitelist) add_copy_specadd_cmd_outputadd_device_cmd)selfcmdsr9/usr/lib/python3/dist-packages/sos/report/plugins/nvme.pysetups  z Nvme.setupN) __name__ __module__ __qualname____doc__ short_desc plugin_nameprofilespackages kernel_modsrrrrrr s rN)sos.report.pluginsrrrrrrrs