Sindbad~EG File Manager

Current Path : /lib/python3.6/site-packages/sos/report/plugins/__pycache__/
Upload File :
Current File : //lib/python3.6/site-packages/sos/report/plugins/__pycache__/libraries.cpython-36.pyc

3

�f5�@s*ddlmZmZmZGdd�dee�ZdS)�)�Plugin�IndependentPlugin�	PluginOptc@s0eZdZdZdZdZedddd�gZdd	�Zd
S)�	LibrarieszDynamic shared librariesZ	libraries�system�	ldconfigvFzcollect verbose ldconfig output)�defaultZdesccCs�|jddg�|jd�r"|jd�|jdddg�|jd�}|d	d
kr�t�}xH|dj�D]8}|jdd
�}t|�d
krzq\|j	|dj
dd�d
�q\W|r�|jddj|�dd�dS)Nz/etc/ld.so.confz/etc/ld.so.conf.drzldconfig -v -N -X�PATHZLD_LIBRARY_PATHZ
LD_PRELOADzldconfig -p -N -XZstatusr�outputz => ���/zls -lanH %s� Zld_so_cache)Zsuggest_filename)Z
add_copy_specZ
get_optionZadd_cmd_outputZadd_env_varZcollect_cmd_output�set�
splitlines�split�len�add�rsplit�join)�selfZldconfig�dirs�libZfqlib�r�/usr/lib/python3.6/libraries.py�setups$


zLibraries.setupN)r)	�__name__�
__module__�__qualname__Z
short_descZplugin_nameZprofilesrZoption_listrrrrrrs
rN)Zsos.report.pluginsrrrrrrrr�<module>	s

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists