HEX
Server: Apache
System: Linux dinesh8189 5.15.98-grsec-sharedvalley-2.lc.el8.x86_64 #1 SMP Thu Mar 9 09:07:30 -03 2023 x86_64
User: cgmgerenciamento1 (814285)
PHP: 8.1.26
Disabled: apache_child_terminate,dl,escapeshellarg,escapeshellcmd,exec,link,mail,openlog,passthru,pcntl_alarm,pcntl_exec,pcntl_fork,pcntl_get_last_error,pcntl_getpriority,pcntl_setpriority,pcntl_signal,pcntl_signal_dispatch,pcntl_sigprocmask,pcntl_sigtimedwait,pcntl_sigwaitinfo,pcntl_strerror,pcntl_wait,pcntl_waitpid,pcntl_wexitstatus,pcntl_wifexited,pcntl_wifsignaled,pcntl_wifstopped,pcntl_wstopsig,pcntl_wtermsig,php_check_syntax,php_strip_whitespace,popen,proc_close,proc_open,shell_exec,symlink,system
Upload Files
File: //usr/lib/python3.6/site-packages/sos/report/plugins/__pycache__/ntp.cpython-36.pyc
3

3��d��@sRddlmZmZmZmZGdd�de�ZGdd�dee�ZGdd�deee�ZdS)	�)�Plugin�RedHatPlugin�DebianPlugin�UbuntuPluginc@s$eZdZdZdZdZd	Zdd�ZdS)
�NtpzNetwork Time Protocol�ntp�system�servicescCs~|jddd�|jddg�|jddgdd	�|jd
�}|ddkrzx4d
d�|dj�dd�D�D]}|jd|�qdWdS)Nz
/etc/ntp.confZntp_conf)Ztagsz/etc/ntp/step-tickersz/etc/ntp/ntpserversZntptimezntpq -pnT)Z
cmd_as_tagz
ntpq -c asZstatusrcSsg|]}|j�d�qS)�)�split)�.0�i�r�/usr/lib/python3.6/ntp.py�
<listcomp>#szNtp.setup.<locals>.<listcomp>�output�zntpq -c 'rv %s')�
add_copy_spec�add_cmd_outputZcollect_cmd_output�
splitlines)�selfZidsZasidrrr�setups
$z	Ntp.setupN)rr	)r)�__name__�
__module__�__qualname__Z
short_descZplugin_nameZprofilesZpackagesrrrrrrs
rcseZdZ�fdd�Z�ZS)�	RedHatNtpcs&tt|�j�|jd�|jd�dS)Nz/etc/sysconfig/ntpdZntpstat)�superrrrr)r)�	__class__rrr)s
zRedHatNtp.setup)rrrr�
__classcell__rr)rrr'srcseZdZ�fdd�Z�ZS)�	DebianNtpcstt|�j�|jd�dS)Nz/etc/default/ntp)rrrr)r)rrrr1szDebianNtp.setup)rrrrrrr)rrr/srN)Zsos.report.pluginsrrrrrrrrrrr�<module>	s