Server IP : 209.38.156.173 / Your IP : 216.73.216.122 [ Web Server : Apache/2.4.52 (Ubuntu) System : Linux lakekumayuhotel 5.15.0-136-generic #147-Ubuntu SMP Sat Mar 15 15:53:30 UTC 2025 x86_64 User : root ( 0) PHP Version : 8.1.2-1ubuntu2.22 Disable Function : NONE Domains : 2 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/lib/python3/dist-packages/sos/report/plugins/__pycache__/ |
Upload File : |
o ���b� � @ sR d dl mZmZmZmZ G dd� de�ZG dd� dee�ZG dd� deee�ZdS ) � )�Plugin�RedHatPlugin�DebianPlugin�UbuntuPluginc @ s$ e Zd ZdZdZdZdZdd� ZdS )�NtpzNetwork Time Protocol�ntp)�system�services)r c C s~ | j ddd� | � ddg� | jddgdd � | �d �}|d dkr;d d� |d �� dd � D �D ]}| �d| � q1d S d S )Nz /etc/ntp.conf�ntp_conf)�tagsz/etc/ntp/step-tickersz/etc/ntp/ntpservers�ntptimezntpq -pnT)� cmd_as_tagz ntpq -c as�statusr c S s g | ]}|� � d �qS )� )�split)�.0�i� r �8/usr/lib/python3/dist-packages/sos/report/plugins/ntp.py� <listcomp># s zNtp.setup.<locals>.<listcomp>�output� zntpq -c 'rv %s')� add_copy_spec�add_cmd_output�collect_cmd_output� splitlines)�self�ids�asidr r r �setup s"