Your IP : 216.73.217.13


Current Path : /lib/python3/dist-packages/sos/report/plugins/__pycache__/
Upload File :
Current File : //lib/python3/dist-packages/sos/report/plugins/__pycache__/services.cpython-38.pyc

U

���b��@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|���|jddd�dS)Nz/sbin/chkconfig --listZ	chkconfig)Zroot_symlink)�superrrr
r��	__class__rrr)szRedHatServices.setup�rrrr�
__classcell__rrrrr'srcseZdZ�fdd�Z�ZS)�DebianServicescstt|���|�d�dS)Nz
/etc/rc*.d)rrrrrrrrr0szDebianServices.setuprrrrrr.srN)	Zsos.report.pluginsrrrrrrrrrrrr�<module>	s