�
i��dY
� �, � d dl mZmZ G d� dee� Zy)� )�Plugin�IndependentPluginc �* � e Zd ZdZdZd ZdZdZdZd� Z y)�pmemz�This plugin collects data from Persistent Memory devices,
commonly referred to as NVDIMM's or Storage Class Memory (SCM)
zPersistent Memory Devices)�storage�hardware�memory)�ndctl�daxctl�ipmctlc � � | j g d�� | j g d�� | j ddg� | j g d�� y )N)z
/etc/ndctlz/etc/ipmctl.confz/var/log/ipmctl)zndctl --versionzndctl list -vvvzndctl list -iBDFHMNRXzndctl read-labels -j allzdaxctl listzdaxctl list -iDR)zipmctl versionzipmctl show -capzipmctl show -celzipmctl show -dimmzipmctl show -a -dimmzipmctl show -dimm -pcdzipmctl show -dimm -performancez ipmctl show -error Thermal -dimmzipmctl show -error Media -dimmzipmctl show -firmwarezipmctl show -goalzipmctl show -memoryresourceszipmctl show -performancezipmctl show -preferenceszipmctl show -regionzipmctl show -sensorzipmctl show -a -sensorzipmctl show -socketzipmctl show -systemz!ipmctl show -system -capabilitiesz$ipmctl show -a -system -capabilitieszipmctl show -topologyzipmctl show -a -topology)�
add_copy_spec�add_cmd_output)�selfs �9/usr/lib/python3/dist-packages/sos/report/plugins/pmem.py�setupz
pmem.setup sk � �
���
� �
�
���
� � �
�����
� �
�
���
� � N)
�__name__�
__module__�__qualname__�__doc__�
short_desc�plugin_name�profiles�packages�commandsr � r r r r s( � �� -�J��K�0�H�,�H�,�H�Er r N)�sos.report.pluginsr r r r r r �<module>r s �� 9�Q�6�$� Qr |