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

u�>]����Gd�de�Zy)c�"�eZdZdZd�Zd�Zd�Zy)�dstat_plugina
    Most expensive CPU process.

    Displays the process that uses the CPU the most during the monitored
    interval. The value displayed is the percentage of CPU time for the total
    amount of CPU processing power. Based on per process CPU information.
    c�X�d|_d|_d|_d|_d|_i|_y)Nzmost expensive)zcpu process�s��)�name�vars�type�width�scale�pidset1��selfs �!/usr/share/dstat/dstat_top_cpu.py�__init__zdstat_plugin.__init__s,��$��	�$��	���	���
���
����c	�`�d|_i|_d|jd<t�D]�}	t	d|z�}t
|�dkr�!||jvrd|j|<t|d�t|d�z|j|<|j||j|z
d	ztztz}||jdkr��|d
d
d}||jd<||jd<t||�|jd
<��|jddk7rPd|jdz
|jd
d|jdz
t|jdddd�fz|_ttj k(r|j|_yy#t
$rY���wxYw)N�g�maxz
/proc/%s/stat�r�
�g�?�����pidrz%-*s%s��f�")�output�pidset2�val�proc_pidlist�proc_splitline�IOError�lenr
�int�elapsed�cpunr�getnamebypidr�cprint�step�op�delay)rr�l�usagers     r�extractzdstat_plugin.extracts����������������>�	7�C�
�"�?�S�#8�9���1�v��{�H��$�,�,�&�$%����S�!� #�A�b�E�
�S��2��Z� 7�D�L�L����\�\�#�&����c�):�:�c�A�G�K�e�S�E��t�x�x���&���Q�4��"�:�D�#�D�H�H�U�O�!�D�H�H�U�O�+�C��6�D�H�H�V��/	7�4�8�8�E�?�c�!�"�d�j�j��l�D�H�H�V�4D�Q�t�z�z�RS�|�4T�V\�]a�]e�]e�fk�]l�nq�st�vx�Vy�%z�z�D�K�
�2�8�8���<�<�D�L���9�
��
�s�F � 	F-�,F-c�D�d|jd|jdfzS)Nz	%s / %d%%rr)r!rs r�showcsvzdstat_plugin.showcsv:s#���d�h�h�v�.������@�@�@rN)�__name__�
__module__�__qualname__�__doc__rr0r2�rrrrs����%(�NArrN)�dstatrr7rr�<module>r9s��8A�5�8Ar

Youez - 2016 - github.com/yon3zu
LinuXploit