관리-도구
편집 파일: system.cpython-39.pyc
a -�_g� � @ s. d dl Z d dlmZmZ G dd� dee�ZdS )� N)�Plugin�IndependentPluginc @ s, e Zd ZdZdZdZdZdd� Zdd� Zd S ) �Systemzcore system information�system)r Zkernel)ZglibcZinitscripts�zlibc C sZ | � g d�� | �g d�� | �g d�� ttj�� �}|�� | jd� |�ddd� d S )N)z /proc/sys�/etc/sysconfig�/etc/default�/etc/environment)z/proc/sys/net/ipv4/route/flushz/proc/sys/net/ipv6/route/flushz'/proc/sys/net/ipv6/neigh/*/retrans_timez./proc/sys/net/ipv6/neigh/*/base_reachable_timez*/etc/default/grub.d/50-curtin-settings.cfg)zld.so --helpzld.so --list-diagnosticszld.so --list-tunables� Zenvironment_varnamesT)Zplug_dir) Z add_copy_specZadd_forbidden_pathZadd_cmd_output�list�os�environ�keys�sortZadd_string_as_file�join)�selfZ var_names� r �=/usr/lib/python3.9/site-packages/sos/report/plugins/system.py�setup s �zSystem.setupc C s | � g d�� d S )N)r r r )Zdo_paths_http_sub)r r r r �postproc2 s zSystem.postprocN) �__name__� __module__�__qualname__Z short_descZplugin_nameZprofilesZverify_packagesr r r r r r r s r )r Zsos.report.pluginsr r r r r r r �<module> s