![]() Server : Apache/2.4.52 (Ubuntu) System : Linux webserver 6.8.0-49-generic #49~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Nov 6 17:42:15 UTC 2 x86_64 User : www-data ( 33) PHP Version : 8.1.2-1ubuntu2.21 Disable Function : NONE Directory : /lib/python3/dist-packages/sos/report/plugins/__pycache__/ |
o i��d� � @ 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"