MMCT TEAM
Server IP : 103.53.40.154  /  Your IP : 18.222.20.3
Web Server : Apache
System : Linux md-in-35.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
User : ppcad7no ( 715)
PHP Version : 8.2.25
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /../sys/../usr/share/netpbm/../dstat/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : //../sys/../usr/share/netpbm/../dstat/dstat_dstat_ctxt.pyc
�
�Lc@sdefd��YZdS(tdstat_plugincBs eZdZd�Zd�ZRS(s(
    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.
    cCs1d|_d|_d|_d|_d|_dS(	Ns	contxt swt	voluntarytinvoluntaryttotaltdiid(RRR(tnametvarsttypetwidthtscale(tself((s$/usr/share/dstat/dstat_dstat_ctxt.pyt__init__s
				cCs�tjtj�}t|j�|jd<t|j�|jd<t|j�t|j�|jd<x8|jD]-}|j||j|dt	|j
|<qkWttj
kr�|jj|j�ndS(NRRRg�?(tresourcet	getrusagetRUSAGE_SELFtfloattru_nvcswtset2t	ru_nivcswRtset1telapsedtvaltsteptoptdelaytupdate(R
tresR((s$/usr/share/dstat/dstat_dstat_ctxt.pytextracts#+(t__name__t
__module__t__doc__RR(((s$/usr/share/dstat/dstat_dstat_ctxt.pyRs	N(tdstatR(((s$/usr/share/dstat/dstat_dstat_ctxt.pyt<module>s

MMCT - 2023