Server IP : 184.107.3.203 / Your IP : 216.73.216.51 Web Server : Apache System : Linux dedicated2.avenfashion.com.ph 4.18.0-553.40.1.el8_10.x86_64 #1 SMP Mon Feb 10 12:11:18 EST 2025 x86_64 User : adminteladeoro ( 1015) PHP Version : 8.2.28 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /usr/lib/python3.6/site-packages/sos/report/plugins/__pycache__/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
3 ~ �g� � @ sR d dl mZmZmZmZ G dd� de�ZG dd� dee�ZG dd� deee�ZdS ) � )�Plugin�RedHatPlugin�DebianPlugin�UbuntuPluginc @ s$ e Zd ZdZdZdZd Zdd� ZdS ) �NtpzNetwork Time Protocol�ntp�system�servicesc C s� | j ddd� | j ddg� | jddgdd � | jd �}|d dkr~x8d d� |d j� dd � D �D ]}| jd|� d�� qdW d S )Nz /etc/ntp.confZntp_conf)Ztagsz/etc/ntp/step-tickersz/etc/ntp/ntpserversZntptimezntpq -pnT)Z cmd_as_tagz ntpq -c asZstatusr c S s g | ]}|j � d �qS )� )�split)�.0�i� r �/usr/lib/python3.6/ntp.py� <listcomp># s zNtp.setup.<locals>.<listcomp>�output� zntpq -c 'rv �')� add_copy_spec�add_cmd_outputZcollect_cmd_output� splitlines)�selfZidsZasidr r r �setup s $z Ntp.setupN)r r )r )�__name__� __module__�__qualname__Z short_descZplugin_nameZprofilesZpackagesr r r r r r s r c s e Zd Z� fdd�Z� ZS )� RedHatNtpc s"