HEX
Server: Apache
System: Linux scp1.abinfocom.com 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User: confeduphaar (1010)
PHP: 8.1.33
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //proc/self/root/lib/python3/dist-packages/sos/report/plugins/__pycache__/services.cpython-38.pyc
U

i��d��@sVddlmZmZmZmZmZGdd�de�ZGdd�dee�ZGdd�deee�ZdS)	�)�Plugin�RedHatPlugin�DebianPlugin�UbuntuPlugin�	PluginOptc@s0eZdZdZdZdZedddd�gZdd	�Zd
S)�ServiceszSystem services�services)�systemZboot�
servicestatusFz&collect status of all running services)�defaultZdesccCs6|�dddg�|�d�r$|�d�|�ddg�dS)Nz/etc/inittabz	/etc/rc.dz
/etc/rc.localr
zservice --status-allz/sbin/runlevelzls /var/lock/subsys)�
add_copy_specZ
get_option�add_cmd_output��self�r�=/usr/lib/python3/dist-packages/sos/report/plugins/services.py�setups�

�zServices.setupN)	�__name__�
__module__�__qualname__Z
short_descZplugin_nameZprofilesrZoption_listrrrrrr
s��rcseZdZ�fdd�Z�ZS)�RedHatServicescs"tt|���|jdddd�dS)Nzchkconfig --listZ	chkconfig)Zroot_symlinkZtags)�superrrr
r��	__class__rrr)s�zRedHatServices.setup�rrrr�
__classcell__rrrrr'srcseZdZ�fdd�Z�ZS)�DebianServicescstt|���|�d�dS)Nz
/etc/rc*.d)rrrrrrrrr1szDebianServices.setuprrrrrr/srN)	Zsos.report.pluginsrrrrrrrrrrrr�<module>	s