HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
File: //lib/python3/dist-packages/sos/report/plugins/__pycache__/systemd.cpython-310.pyc
o

i��d�
�@s6ddlmZmZmZddlmZGdd�dee�ZdS)�)�Plugin�IndependentPlugin�SoSPredicate)�
is_executablec@s(eZdZdZdZdZdZdZdd�ZdS)	�SystemdzSystem management daemon�systemd)�system�services�boot)r)�/run/systemd/systemcCs�|�ddddd��|jgd�dd�|jd	d
d�td�r#d
}d}nd}d}|j||gt|dgd�d�|jddd�|�d�rF|�d�|�gd��|�d�dS)N�etc_journald_conf�usr_journald_conf_d�systemd_system_conf�systemd_logind_conf)z/etc/systemd/journald.confz/usr/lib/systemd/journald.confz/etc/systemd/system.confz/etc/systemd/logind.conf)zjournalctl --list-bootszls -lR /lib/systemdzsystemctl 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 --listT)�
cmd_as_tag�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/sessionsrz/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_outputrr�
get_option�
add_copy_spec�add_forbidden_path)�self�resolvectl_status�resolvectl_statistics�r �</usr/lib/python3/dist-packages/sos/report/plugins/systemd.py�setups8�
����

z
Systemd.setupN)	�__name__�
__module__�__qualname__�
short_desc�plugin_name�profiles�packages�filesr"r r r r!rsrN)�sos.report.pluginsrrr�
sos.utilitiesrrr r r r!�<module>s