3 ܓia @s&ddlmZmZGdddeeZdS))PluginIndependentPluginc@s,eZdZdZdZdZd ZdZdZd d Z d S)PMemzThis plugin collects data from Persistent Memory devices, commonly referred to as NVDIMM's or Storage Class Memory (SCM) zPersistent Memory DevicesZpmemstoragehardwarememoryndctldaxctlipmctlcCsl|jdddg|jddddg|jdd g|jd d d d ddddddddddddddddddd gdS)!Nz /etc/ndctlz/etc/ipmctl.confz/var/log/ipmctlzndctl --versionzndctl list -vvvzndctl list -iBDFHMNRXzndctl read-labels -j allz daxctl listzdaxctl list -iDRzipmctl 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)Z add_copy_specZadd_cmd_output)selfr /usr/lib/python3.6/pmem.pysetupsH z PMem.setupN)rrr)rr r )rr r ) __name__ __module__ __qualname____doc__Z short_descZ plugin_nameZprofilesZpackagesZcommandsrr r r r r srN)Zsos.report.pluginsrrrr r r r  s