관리-도구
편집 파일: systemd.cpython-39.opt-1.pyc
a ����-�_g�����������������������@���s6���d�dl�mZmZmZ�d�dlmZ�G�dd��dee�ZdS�)�����)�Plugin�IndependentPlugin�SoSPredicate)� is_executablec�������������������@���s0���e�Zd�ZdZdZdZdZdZdd��Zdd ��Z d S�)�SystemdzSystem management daemon�systemd)�system�servicesZboot)r���)�/run/systemd/systemc�����������������C���s����|���ddddd���|�jddd��|�jg�d �dd ��|�jddd ��td�rTd}d}nd}d}|�j||gt|�dgd�d��|�jddd��|��d�r�|��d��|��g�d���|��d��d�S�)NZetc_journald_confZusr_journald_conf_dZsystemd_system_confZsystemd_logind_conf)z/etc/systemd/journald.confz/usr/lib/systemd/journald.confz/etc/systemd/system.confz/etc/systemd/logind.confz/lib/systemdT)� recursive)zjournalctl --list-bootszsystemctl list-dependencieszsystemctl list-jobszsystemctl list-machineszsystemctl list-unit-fileszsystemctl list-unitszsystemctl list-units --allzsystemctl list-units --failedzsystemctl list-timers --allzsystemctl show --allzsystemctl show *service --allzsystemctl show-environmentzsystemctl status --allz systemd-deltazsystemd-analyzezsystemd-analyze blamezsystemd-analyze dumpzsystemd-inhibit --list)Z cmd_as_tagZtimedatectl�date)Zroot_symlinkZ resolvectlzresolvectl statuszresolvectl statisticszsystemd-resolve --statuszsystemd-resolve --statisticszsystemd-resolved)r ���)Zpredzsystemd-analyze plotzsystemd-analyze_plot.svg)Zsuggest_filenameZverifyzjournalctl --verify)z/etc/systemd�/lib/systemd/systemz/lib/systemd/userz/etc/vconsole.confz/run/systemd/generator*z/run/systemd/seatsz/run/systemd/sessionsr ���z/run/systemd/usersz/etc/modules-load.d/*.confz!/etc/yum/protected.d/systemd.confz/etc/tmpfiles.d/*.confz/run/tmpfiles.d/*.confz/usr/lib/tmpfiles.d/*.confz /dev/null)Z add_file_tagsZadd_dir_listingZadd_cmd_outputr���r���Z get_optionZ add_copy_specZadd_forbidden_path)�selfZresolvectl_statusZresolvectl_statistics��r����>/usr/lib/python3.9/site-packages/sos/report/plugins/systemd.py�setup���s:����� ���� z Systemd.setupc�����������������C���s���|���g�d���d�S�)N)z/etc/systemd/systemr ���r ���)Zdo_paths_http_sub)r���r���r���r����postprocb���s����zSystemd.postprocN) �__name__� __module__�__qualname__Z short_descZplugin_nameZprofilesZpackages�filesr���r���r���r���r���r���r������s���Jr���N)Zsos.report.pluginsr���r���r���Z sos.utilitiesr���r���r���r���r���r����<module>���s���