관리-도구
편집 파일: nvme.cpython-39.opt-1.pyc
a ����-�_g�����������������������@���s&���d�dl�mZmZ�G�dd��dee�ZdS�)�����)�Plugin�IndependentPluginc�������������������@���s,���e�Zd�ZdZdZdZdZdZdZdd��Z d S�) �Nvmea��Collects 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)r���Z nvme_corec�����������������C���s8���|���g�d���|��ddg��g�d�}|�j|ddd��d�S�)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)s�blockznvme.*)ZdevicesZ whitelist)Z add_copy_specZadd_cmd_outputZadd_device_cmd)�selfZcmds��r����;/usr/lib/python3.9/site-packages/sos/report/plugins/nvme.py�setup���s�����z Nvme.setupN) �__name__� __module__�__qualname__�__doc__Z short_descZplugin_nameZprofilesZpackagesZkernel_modsr ���r���r���r���r ���r������s���r���N)Zsos.report.pluginsr���r���r���r���r���r���r ����<module> ���s���