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_jvm_full.cpython-312.pyc
�

u�>]����daGd�de�Zy)z
/usr/bin/jcmdc�B�eZdZdZd�Zd�Zed��Zed��Zd�Z	y)�dstat_plugina
    This plugin gathers jvm stats via jcmd.

    Usage:
       JVM_PID=15123 dstat --jvm-full 

    Minimize the impacts of jcmd and consider using:

        dstat --noupdate

    For full informations on jcmd see:

      - http://docs.oracle.com/javase/7/docs/technotes/tools/solaris/jcmd.html
      - https://docs.oracle.com/javase/8/docs/technotes/guides/troubleshoot/tooldescr006.html

    This requires the presence of /tmp/hsperfdata_* directory, so
     it WON'T WORK if you add -XX:-UsePerfData or -XX:+PerfDisableSharedMem.

    c�J�d|_d|_d|_d|_d|_y)N�jvm_full)	�clsL�clsU�fgc�heapzheap%�heapmax�permzperm%�permmax�f�i�)�name�vars�type�width�scale)�selfs �"/usr/share/dstat/dstat_jvm_full.py�__init__zdstat_plugin.__init__s'����	�<��	���	���
���
�c��tjttj�st	d��	ttjjdd��|_y#t$r}d|_Yd}~yd}~wwxYw)z?Preliminar checks. If no pid is passed, defaults to 0.
        zNeeds jstat binary�JVM_PID�NT)	�os�access�BIN_JCMD�X_OK�	Exception�int�environ�get�jvm_pid)r�es  r�checkzdstat_plugin.check%se���y�y��2�7�7�+��0�1�1�	��r�z�z�~�~�i��:�;�D�L����	��D�L�L���	�s�.A$�$	A>�-A9�9A>c�Z�	|t|�fS#tttf$r||fcYSwxYw)N)r �KeyError�
ValueError�AttributeError)�k�vs  r�_to_statzdstat_plugin._to_stat2s4��	��c�!�f�9����*�n�5�	��a�4�K�	�s��*�*c#�K�tj|�D]$}|j�jdd����&y�w)z5Splits a txt output of lines like key=value.
        �=�N)r�popen�strip�split)�cmd�ls  r�_cmd_splitlineszdstat_plugin._cmd_splitlines9s6�������#��	*�A��'�'�)�/�/�#�q�)�)�	*�s�>Ac�Z���	�jt�d�j�d��}t�fd�|D����r͉d�jd<�d�jd<�d�jd	<�d
�dz�jd<t�fd
��D���jd<�d�dz�jd<	�d�jd<t�fd��D���jd<�d�jd<dD]7}d�j|dzz�j|z�j|dz<�9�jD]}�j|�j|<� ttjk(r&�jj�j�yy#t$r9�d�jd<�d�jd<�d�jd<Y��wxYw#t$rW}tjdkDrt!�j"�d |����jD]}d!�j|<�Yd}~yd}~wt$$rK}tjdkDrt!d"|z��jD]}d!�j|<�Yd}~yd}~wwxYw)#N� z PerfCounter.print c3�X�K�|]!}t|�dkDr�j|����#y�w)r/N)�lenr,)�.0r4rs  �r�	<genexpr>z'dstat_plugin.extract.<locals>.<genexpr>Ds.�����(�q���F�Q�J�'�����*�(�s�'*zjava.cls.loadedClassesrzjava.cls.unloadedClassesrzsun.gc.collector.1.invocationsrzsun.gc.generation.1.capacityzsun.gc.generation.0.capacityr	c3�8�K�|]}d|vrd|vr�|���y�w)zsun.gc.generation.�usedN��r:r*�tables  �rr;z'dstat_plugin.extract.<locals>.<genexpr>Rs+�����):�a�,@�A�,E�-3�q�[�*/�q��):����heapuzsun.gc.generation.1.maxCapacityzsun.gc.generation.0.maxCapacityr
zsun.gc.generation.2.capacityrc3�8�K�|]}d|vrd|vr�|���y�w)zsun.gc.generation.2.r=Nr>r?s  �rr;z'dstat_plugin.extract.<locals>.<genexpr>[s+�����->�!�0F�!�0K�17�1��.3�1�X�->�rA�permuzsun.gc.generation.2.maxCapacityrzsun.gc.metaspace.capacityzsun.gc.metaspace.usedzsun.gc.metaspace.maxCapacity)r	r�d�u�%r/z: lost pipe to jstat, ���z
%s: exception)r5rr#�dict�set2�sumr'r�val�step�op�delay�set1�update�IOError�debug�print�filenamer)r�linesrr$r@s`   @r�extractzdstat_plugin.extract@s����:	$��(�(�.6����E�G�E��(�E�(�(�E��$)�*B�$C��	�	�&�!�$)�*D�$E��	�	�&�!�#(�)I�#J��	�	�%� �%*�*H�$I�E�2�M4�%4��	�	�&�!�&)�):�5�):�&:��	�	�'�"�(-�-N�'O�RW�5�S7�(7��	�	�)�$�8�(-�.L�(M�D�I�I�f�%�),�->�u�->�*>�D�I�I�g�&�,1�9�,;�D�I�I�i�(�)�
2��(+�d�i�i��3�J�/ �) �"&�)�)�D�/�)2��	�	�$��*�%�
2��	�	�
1��!%���4�������
1��r�x�x���	�	� � ����+� �� �8�(-�.I�(J�D�I�I�f�%�).�/F�)G�D�I�I�g�&�+0�6�,8�D�I�I�i�(�8��"�	$��x�x�!�|��d�m�m�Q�G�H��	�	�
$��!#������
$���	$��x�x�!�|��o��)�*��	�	�
$��!#������
$��	$�sL�CG8�AF3�B%G8�3?G5�2G8�4G5�5G8�8	J*�A
I�J*�AJ%�%J*N)
�__name__�
__module__�__qualname__�__doc__rr%�staticmethodr,r5rWr>rrrrs>���(�������*��*�;$rrN)r�dstatrr>rr�<module>r^s��
��s$�5�s$r

Youez - 2016 - github.com/yon3zu
LinuXploit