o idm@s&ddlmZmZGdddeeZdS))PluginIndependentPluginc@s eZdZdZdZdZddZdS)MemoryzMemory configuration and usememory)systemhardwarercCs<|gd|jddd|gd|jddddS)N) z /proc/pciz /proc/meminfoz /proc/vmstatz /proc/swapsz/proc/slabinfoz/proc/pagetypeinfoz/proc/vmallocinfoz/sys/kernel/mm/ksmz+/sys/kernel/mm/transparent_hugepage/enabledz/sys/kernel/mm/hugepagesfree) root_symlink)zfree -mzswapon --bytes --showzswapon --summary --verbosez7lsmem -a -o RANGE,SIZE,STATE,REMOVABLE,ZONES,NODE,BLOCKz slabtop -oT) foreground) add_copy_specadd_cmd_output)selfr;/usr/lib/python3/dist-packages/sos/report/plugins/memory.pysetups z Memory.setupN)__name__ __module__ __qualname__ short_desc plugin_nameprofilesrrrrrr s  rN)sos.report.pluginsrrrrrrrs