o
    id                     @   s2   d dl mZmZ d dlmZ G dd deeZdS )    )PluginIndependentPlugin)is_executablec                   @   s$   e Zd ZdZdZdZdZdd ZdS )LstopozMachine topology informationlstopo)systemhardware)z
hwloc-libs	libhwloc5hwlocc                 C   s:   t drd}nd}| jd| dd | jd| dd d S )Nr   zlstopo-no-graphicsz%s --whole-io --of consolez
lstopo.txt)suggest_filenamez%s --whole-io --of xmlz
lstopo.xml)r   add_cmd_output)selfcmd r   ;/usr/lib/python3/dist-packages/sos/report/plugins/lstopo.pysetup   s   


zLstopo.setupN)__name__
__module____qualname__
short_descplugin_nameprofilespackagesr   r   r   r   r   r      s    r   N)sos.report.pluginsr   r   sos.utilitiesr   r   r   r   r   r   <module>   s   