| Server IP : 77.50.203.18 / Your IP : 192.168.0.10 Web Server : Apache/2.4.62 (CentOS Stream) OpenSSL/3.5.7 mpm-itk/2.4.7-04 PHP/8.4.23 System : Linux web2 5.14.0-722.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Mon Jul 6 09:07:51 UTC 2026 x86_64 User : warsnews.ru ( 1001) PHP Version : 8.4.23 Disable Function : NONE MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /lib/python3.9/site-packages/sos/report/plugins/__pycache__/ |
Upload File : |
a
ܓ�i* � @ sz d dl Z d dlZd dlZd dlmZmZmZmZmZ d dl m
Z
G dd� de�ZG dd� deee�ZG dd � d ee�Z
dS )
� N)�Plugin�RedHatPlugin�DebianPlugin�UbuntuPlugin� PluginOpt)�
RHELPolicyc @ s, e Zd ZdZdZdZdZdZdZdd� Z d S )
�PythonznCaptures information on the installed python runtime(s), as well as
python modules installed via pip.
zPython runtime�python)�system)r z python -Vc C sT | j | jdd� | �d�}|d dkrP|d �� dd � D ]}| � |� d�� q:d S ) Nzpython-version)Zsuggest_filenamezwhereis pip -b�statusr �output� z -v list installed)�add_cmd_output�python_versionZexec_cmd�split)�selfZpipsZpip� r �=/usr/lib/python3.9/site-packages/sos/report/plugins/python.py�setup! s �
zPython.setupN)
�__name__�
__module__�__qualname__�__doc__Z
short_descZplugin_nameZprofiles�packagesr r r r r r r s r c @ s e Zd ZdZdZdS )�UbuntuPython�
python3 -V)�python3N)r r r r r r r r r r . s r c sD e Zd ZdZdZedddd�gZ� fdd�Zd d
� Zdd� Z � Z
S )
�RedHatPythona In addition to the base information, on Red Hat family distributions the
python plugin also supports the 'hashes' option. If enabled, this plugin
will generate a json-formatted listing of all pyfiles within the
distribution-standard python package installation locations.
)r Zpython36Zpython2r zplatform-python�hashesFz#collect hashes for all python files)�defaultZdescc s<