File: //usr/lib/python3/dist-packages/sos/report/plugins/__pycache__/systemd.cpython-310.pyc
o
���b � @ s6 d dl mZmZmZ d dlmZ G dd� dee�ZdS )� )�Plugin�IndependentPlugin�SoSPredicate)�
is_executablec @ s( e Zd ZdZdZdZdZdZdd� ZdS ) �SystemdzSystem management daemon�systemd)�system�services�boot)r )�/run/systemd/systemc C s� | � ddddd�� | �g d�� | jddd � td
�r!d}d}nd
}d}| j||gt| dgd�d� | jddd� | �d�rD| �d� | �g d�� | �d� d S )N�insights_etc_journald_conf�insights_usr_journald_conf_d�insights_systemd_system_conf�insights_systemd_logind_conf)z/etc/systemd/journald.conf.*z /usr/lib/systemd/journald.conf.*z/etc/systemd/system.confz/etc/systemd/logind.conf)zsystemctl status --allzsystemctl show --allzsystemctl show *service --allzsystemctl list-unitszsystemctl list-units --failedzsystemctl list-units --allzsystemctl list-unit-fileszsystemctl list-jobszsystemctl list-dependencieszsystemctl list-timers --allzsystemctl list-machineszsystemctl show-environmentz
systemd-deltazsystemd-analyzezsystemd-analyze blamezsystemd-analyze dumpzsystemd-inhibit --listzjournalctl --list-bootszls -lR /lib/systemd�timedatectl�date)�root_symlink�
resolvectlzresolvectl statuszresolvectl statisticszsystemd-resolve --statuszsystemd-resolve --statisticszsystemd-resolved)r )�predzsystemd-analyze plotzsystemd-analyze_plot.svg)�suggest_filename�verifyzjournalctl --verify)z/etc/systemdz/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)�
add_file_tags�add_cmd_outputr r �
get_option�
add_copy_spec�add_forbidden_path)�self�resolvectl_status�resolvectl_statistics� r �</usr/lib/python3/dist-packages/sos/report/plugins/systemd.py�setup s4 ����
z
Systemd.setupN) �__name__�
__module__�__qualname__�
short_desc�plugin_name�profiles�packages�filesr! r r r r r s r N)�sos.report.pluginsr r r �
sos.utilitiesr r r r r r �<module> s