https://t.me/RX1948
Server : LiteSpeed
System : Linux host 5.15.0-161-generic #171-Ubuntu SMP Sat Oct 11 08:17:01 UTC 2025 x86_64
User : idnco5810 ( 1093)
PHP Version : 8.2.29
Disable Function : NONE
Directory :  /lib/python3/dist-packages/sos/collector/transports/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python3/dist-packages/sos/collector/transports/__pycache__/local.cpython-310.pyc
o

([Qh��@s0ddlZddlZddlmZGdd�de�ZdS)�N)�RemoteTransportc@sPeZdZdZdZdd�Zdd�Zedd��Zd	d
�Z	dd�Z
d
d�Zdd�ZdS)�LocalTransportz�
    A 'transport' to represent a local node. No remote connection is actually
    made, and all commands set to be run by this transport are executed locally
    without any wrappers.
    �
local_nodecC�dS�NT�)�self�passwordrr�@/usr/lib/python3/dist-packages/sos/collector/transports/local.py�_connect�zLocalTransport._connectcCrrr�rrrr
�_disconnectrzLocalTransport._disconnectcCrrrr
rrr
�	connected szLocalTransport.connectedcCs&|�d|�d|���t�||�dS)NzMoving z to T)�	log_debug�shutil�copy�r�fname�destrrr
�_retrieve_file$szLocalTransport._retrieve_filecCs|S)Nr)r�cmdrrr
�_format_cmd_for_exec)rz#LocalTransport._format_cmd_for_execcCrrrrrrr
�_copy_file_to_remote,rz#LocalTransport._copy_file_to_remotecCsVtj�|�r!t|ddd��}|��Wd�S1swY|�d|���dS)N�rzutf-8)�encodingzNo such file: �)�os�path�exists�open�readr)rr�rfilerrr
�
_read_file/s �zLocalTransport._read_fileN)
�__name__�
__module__�__qualname__�__doc__�namerr�propertyrrrrr#rrrr
rs
r)rr�sos.collector.transportsrrrrrr
�<module>s


https://t.me/RX1948 - 2025